You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
alacdec: set bits_per_raw_sample
This commit is contained in:
@@ -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");
|
||||||
|
Reference in New Issue
Block a user