alacdec: set bits_per_raw_sample

pull/6/merge
Justin Ruggles 12 years ago
parent c3e15f7b39
commit 46a86c6194
  1. 1
      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");

Loading…
Cancel
Save