[FFmpeg-cvslog] avcodec/libx264: Separate headers not supported in AVC-Intra mode
Limin Wang
git at videolan.org
Fri Jun 25 04:28:42 EEST 2021
ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Fri Jun 18 19:55:07 2021 +0800| [81bad080cd99c3754763d5cfe884f307120eba81] | committer: Limin Wang
avcodec/libx264: Separate headers not supported in AVC-Intra mode
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=81bad080cd99c3754763d5cfe884f307120eba81
---
libavcodec/libx264.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index d0608e7c55..4b905bf9da 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -892,6 +892,11 @@ static av_cold int X264_init(AVCodecContext *avctx)
}
}
+#if X264_BUILD >= 142
+ /* Separate headers not supported in AVC-Intra mode */
+ if (x4->params.i_avcintra_class >= 0)
+ x4->params.b_repeat_headers = 1;
+#endif
{
AVDictionaryEntry *en = NULL;
More information about the ffmpeg-cvslog
mailing list