]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3dec.c
avformat/concatdec: fix the h264 annexb extradata check
[ffmpeg] / libavcodec / ac3dec.c
index 4a0d8bbcc75051b74eaf137545495abef194ade4..7e2cbce90b3c1a4b4b54fcc63f3efc4b20320695 100644 (file)
@@ -1622,7 +1622,7 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data,
         }
     }
 
-    av_frame_set_decode_error_flags(frame, err ? FF_DECODE_ERROR_INVALID_BITSTREAM : 0);
+    frame->decode_error_flags = err ? FF_DECODE_ERROR_INVALID_BITSTREAM : 0;
 
     /* keep last block for error concealment in next frame */
     for (ch = 0; ch < s->out_channels; ch++)