1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00

avcodec/libx264: Separate headers not supported in AVC-Intra mode

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
Limin Wang 2021-06-18 19:55:07 +08:00
parent 93da0869e6
commit 81bad080cd

View File

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