[FFmpeg-cvslog] avcodec/qsvenc: add missing header include

James Almer git at videolan.org
Wed Sep 6 22:09:13 EEST 2023


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Sep  6 16:08:40 2023 -0300| [3a5be28857de4d523ff95ec07362771a89e00f46] | committer: James Almer

avcodec/qsvenc: add missing header include

Needed for ff_encode_add_cpb_side_data().
Fixes regression since 0231df505dc70ac435f2b437d1995ebabd70a66a.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3a5be28857de4d523ff95ec07362771a89e00f46
---

 libavcodec/qsvenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index ac7364f61f..4efc8d551e 100644
--- a/libavcodec/qsvenc.c
+++ b/libavcodec/qsvenc.c
@@ -35,6 +35,7 @@
 #include "libavutil/imgutils.h"
 
 #include "avcodec.h"
+#include "encode.h"
 #include "internal.h"
 #include "packet_internal.h"
 #include "qsv.h"



More information about the ffmpeg-cvslog mailing list