mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
alacdec: set bits_per_raw_sample
This commit is contained in:
parent
c3e15f7b39
commit
46a86c6194
@ -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…
Reference in New Issue
Block a user