X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fh264_parser.c;h=c9dea81a4913870d07a4feaf62f420cba1c07c80;hb=ee4ba9aecd7ce341be12b655ce58957fbb0e94e0;hp=9d28cc3707d9ad6a41e47565620e512aad61b2bc;hpb=484e59a0a0329c4005ddacd05051925345f4362f;p=ffmpeg diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index 9d28cc3707d..c9dea81a491 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -376,6 +376,7 @@ static int init(AVCodecParserContext *s) { H264Context *h = s->priv_data; h->thread_context[0] = h; + h->s.slice_context_count = 1; return 0; }