aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-01 22:23:54 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-01 23:18:22 +0100
commite0f716a9d9f59c06f9bcf341cd5a6afdbbf4d446 (patch)
tree9872f8dcee14e57de183d80ac9faa65f9075d246
parent3ded235f5932881777d53e1acf71725d1a6af366 (diff)
downloadffmpeg-e0f716a9d9f59c06f9bcf341cd5a6afdbbf4d446.tar.gz
ac3dec: use AVFrame accessor functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/ac3dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index 5dde004ae9..51ef187cdb 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++)