summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-10-21 19:18:07 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-10-21 23:54:51 -0400
commit46a86c61940ec8efdfa90b23f05c38ecc1184a34 (patch)
treeb2fe4ad37e26d2ec26892659d018edaec7eea2eb
parentc3e15f7b39aac2012f09ee4ca86d2bc674ffdbd4 (diff)
downloadffmpeg-46a86c61940ec8efdfa90b23f05c38ecc1184a34.tar.gz
alacdec: set bits_per_raw_sample
-rw-r--r--libavcodec/alac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c
index 11f90fc4a5..80f6863105 100644
--- a/libavcodec/alac.c
+++ b/libavcodec/alac.c
@@ -574,6 +574,7 @@ static av_cold int alac_decode_init(AVCodecContext * avctx)
alac->sample_size);
return AVERROR_PATCHWELCOME;
}
+ avctx->bits_per_raw_sample = alac->sample_size;
if (alac->channels < 1) {
av_log(avctx, AV_LOG_WARNING, "Invalid channel count\n");