ffmpeg | branch: master | Limin Wang <[email protected]> | 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 <[email protected]>

> 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;

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to