diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-01 22:23:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-01 23:18:22 +0100 |
commit | e0f716a9d9f59c06f9bcf341cd5a6afdbbf4d446 (patch) | |
tree | 9872f8dcee14e57de183d80ac9faa65f9075d246 | |
parent | 3ded235f5932881777d53e1acf71725d1a6af366 (diff) | |
download | ffmpeg-streaming-e0f716a9d9f59c06f9bcf341cd5a6afdbbf4d446.zip ffmpeg-streaming-e0f716a9d9f59c06f9bcf341cd5a6afdbbf4d446.tar.gz |
ac3dec: use AVFrame accessor functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/ac3dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index 5dde004..51ef187 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -1406,7 +1406,7 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data, } } - frame->decode_error_flags = err ? FF_DECODE_ERROR_INVALID_BITSTREAM : 0; + av_frame_set_decode_error_flags(frame, err ? FF_DECODE_ERROR_INVALID_BITSTREAM : 0); /* keep last block for error concealment in next frame */ for (ch = 0; ch < s->out_channels; ch++) |