diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-06-07 21:40:22 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-06-21 02:56:06 +0400 |
commit | e6c52cee541ba23a7aec525f72dff73c188dad06 (patch) | |
tree | 5ae73425c73262bf580626118c0174f808806aad /libavcodec/dca.c | |
parent | c5ee740745596941b84b738cc528ec85b0e6f0a3 (diff) |
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/dca.c')
-rw-r--r-- | libavcodec/dca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c index a9b2c9b0c9..68731c9033 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -1813,7 +1813,7 @@ static int dca_decode_frame(AVCodecContext * avctx, } out_size = 256 / 8 * s->sample_blocks * channels * - (av_get_bits_per_sample_fmt(avctx->sample_fmt) / 8); + av_get_bytes_per_sample(avctx->sample_fmt); if (*data_size < out_size) return -1; *data_size = out_size; |