h264_parser: Initialize the h264dsp context in the parser as well
[ffmpeg.git] / libavcodec / h264_parser.c
index 2ed155cdfde97752316a359ebefc0ef0aebfe938..da2a5f99db39bcc832bf936ece84b6dc48ca8ffd 100644 (file)
@@ -417,6 +417,7 @@ static av_cold int init(AVCodecParserContext *s)
     H264Context *h = s->priv_data;
     h->thread_context[0]   = h;
     h->slice_context_count = 1;
+    ff_h264dsp_init(&h->h264dsp, 8, 1);
     return 0;
 }