summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/libx264.c5
1 files changed, 5 insertions, 0 deletions
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;