You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
committed by
Michael Niedermayer
parent
ca00dda216
commit
65b96aba28
@@ -201,6 +201,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
if (s->bits_per_sample == 16)
|
||||
avctx->sample_fmt = AV_SAMPLE_FMT_S16P;
|
||||
else if (s->bits_per_sample == 24) {
|
||||
av_log(avctx, AV_LOG_WARNING, "Decoding audio at 24 bit-depth\n");
|
||||
avctx->sample_fmt = AV_SAMPLE_FMT_S32P;
|
||||
avctx->bits_per_raw_sample = 24;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user