projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'qatar/master'
[ffmpeg.git]
/
libavcodec
/
dca.c
diff --git
a/libavcodec/dca.c
b/libavcodec/dca.c
index
0235a57
..
4b445bc
100644
(file)
--- a/
libavcodec/dca.c
+++ b/
libavcodec/dca.c
@@
-1817,7
+1817,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;