Commit 46a86c61 authored by Justin Ruggles's avatar Justin Ruggles

alacdec: set bits_per_raw_sample

parent c3e15f7b
...@@ -574,6 +574,7 @@ static av_cold int alac_decode_init(AVCodecContext * avctx) ...@@ -574,6 +574,7 @@ static av_cold int alac_decode_init(AVCodecContext * avctx)
alac->sample_size); alac->sample_size);
return AVERROR_PATCHWELCOME; return AVERROR_PATCHWELCOME;
} }
avctx->bits_per_raw_sample = alac->sample_size;
if (alac->channels < 1) { if (alac->channels < 1) {
av_log(avctx, AV_LOG_WARNING, "Invalid channel count\n"); av_log(avctx, AV_LOG_WARNING, "Invalid channel count\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment