diff --git a/libavcodec/alac.c b/libavcodec/alac.c index 11f90fc4a55f64cc384ea037c7af50bcb127062a..80f6863105755f58abb27e2a5ec4799bded24f1b 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");