[FFmpeg-devel] [PATCH] lavc/qsvdec: Add vvc_mp4toannexb bsf for QSV VVC decoder

fei.w.wang at intel.com fei.w.wang at intel.com
Tue Aug 13 11:01:56 EEST 2024


From: Fei Wang <fei.w.wang at intel.com>

Fix error:
$ ffmpeg -hwaccel qsv -i input.mp4 -f null -
..
[vvc_qsv @ 0000026890D966C0] Error decoding stream header: unknown error (-1)
[vvc_qsv @ 0000026890D966C0] Error decoding header

Signed-off-by: Fei Wang <fei.w.wang at intel.com>
---
 libavcodec/qsvdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index 9ad3439991..039ba62484 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -1303,5 +1303,5 @@ DEFINE_QSV_DECODER(av1, AV1, NULL)
 #endif
 
 #if CONFIG_VVC_QSV_DECODER
-DEFINE_QSV_DECODER(vvc, VVC, NULL)
+DEFINE_QSV_DECODER(vvc, VVC, "vvc_mp4toannexb")
 #endif
-- 
2.34.1



More information about the ffmpeg-devel mailing list