]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3dec_fixed.c
avcodec/mjpegenc: Fix segfault when freeing incomplete context
[ffmpeg] / libavcodec / ac3dec_fixed.c
index f36854cdc58b3edaf8d5a42e3c7f36dc10b8ab66..daab4332958aeb9c38333a5d4195b25416bc06e3 100644 (file)
@@ -182,4 +182,5 @@ AVCodec ff_ac3_fixed_decoder = {
     .sample_fmts    = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16P,
                                                       AV_SAMPLE_FMT_NONE },
     .priv_class     = &ac3_decoder_class,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
 };