Browse Source

ac3dec: use AVFrame accessor functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
e0f716a9d9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ac3dec.c

+ 1
- 1
libavcodec/ac3dec.c 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++)


Loading…
Cancel
Save