[FFmpeg-devel] [PATCH] add block_align to sox input

Daniel Verkamp daniel
Wed Jul 8 00:48:33 CEST 2009


On Tue, Jul 7, 2009 at 6:38 PM, Phil
Rutschman<phil.rutschman at modsystems.com> wrote:
> The sox decoder fails when the number of input channels isn't a power of two:
>
[...]

> The attached patch uses st->codec->block_align in soxdec.c based on the changes in this fix:
> http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/2009-April/022122.html
>

Looks ok to me, except Michael will probably say the extra variable is
not necessary. :)  Plus the formatting is slightly different than the
rest of the file (no space around * in the size calculation).

Thanks,
-- Daniel Verkamp



More information about the ffmpeg-devel mailing list