Skip to content
Snippets Groups Projects
Commit b99e9ee9 authored by Marton Balint's avatar Marton Balint Committed by Michael Niedermayer
Browse files

ac3dec: set decode_error_flags field in ac3 codec

parent 016a4720
No related branches found
No related tags found
No related merge requests found
...@@ -1433,6 +1433,8 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data, ...@@ -1433,6 +1433,8 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data,
} }
} }
s->frame.decode_error_flags = err ? FF_DECODE_ERROR_INVALID_BITSTREAM : 0;
*got_frame_ptr = 1; *got_frame_ptr = 1;
*(AVFrame *)data = s->frame; *(AVFrame *)data = s->frame;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment