diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-06-07 13:40:22 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-06-20 18:56:06 -0400 |
commit | e6c52cee541ba23a7aec525f72dff73c188dad06 (patch) | |
tree | 5ae73425c73262bf580626118c0174f808806aad /libavcodec/ac3dec.c | |
parent | c5ee740745596941b84b738cc528ec85b0e6f0a3 (diff) | |
download | ffmpeg-e6c52cee541ba23a7aec525f72dff73c188dad06.tar.gz |
Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().
av_get_bits_per_sample_fmt() is deprecated.
Diffstat (limited to 'libavcodec/ac3dec.c')
-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 2966c33b25..42b62ef701 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -1422,7 +1422,7 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size, } } *data_size = s->num_blocks * 256 * avctx->channels * - (av_get_bits_per_sample_fmt(avctx->sample_fmt) / 8); + av_get_bytes_per_sample(avctx->sample_fmt); return FFMIN(buf_size, s->frame_size); } |