Op ma 20 dec. 2021 om 09:12 schreef Martijn van Beurden <mva...@gmail.com>: > + if (avctx->bits_per_raw_sample == 0) > + avctx->bits_per_raw_sample = 32;
This part is wrong. bits_per_raw_sample should not be 0. I assumed that 0 meant 'no different from sample format', but I see now that it means 'unknown'. Apparently this value is not properly set. With this patch, 24-bit audio files are also encoded as 32-bit. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".