Op ma 20 dec. 2021 om 09:12 schreef Martijn van Beurden <[email protected]>:
> +            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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to