ac3dec: use AVFrame accessor functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-03-01 22:23:54 +01:00
parent 3ded235f59
commit e0f716a9d9
1 changed files with 1 additions and 1 deletions

View File

@ -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++)