[FFmpeg-devel] [PATCH] ffmpeg 0.10.x set correct bit rate in riff wav headers

2014-08-12 Thread Wilfried Weissmann
Hi, The attached patch fixes incorrect bit rate values in riff headers when a conversion is done from 16 bit samples to alaw. [user@test ffmpeg-new]$ ./ffprobe ../sample.wav 21 | tail -4 Input #0, wav, from '../sample.wav': Duration: 00:00:10.00, bitrate: 256 kb/s Stream #0:0: Audio:

Re: [FFmpeg-devel] [PATCH] ffmpeg 0.10.x set correct bit rate in riff wav headers

2014-08-12 Thread Carl Eugen Hoyos
Wilfried Weissmann wweissmann at realnetworks.com writes: The attached patch fixes incorrect bit rate values in riff headers when a conversion is done from 16 bit samples to alaw. From: user user@localhost.localdomain This doesn't look correct, did you use git cherry-pick -x? Carl Eugen

Re: [FFmpeg-devel] [PATCH] ffmpeg 0.10.x set correct bit rate in riff wav headers

2014-08-12 Thread Michael Niedermayer
On Tue, Aug 12, 2014 at 11:45:11AM +, Wilfried Weissmann wrote: Hi, The attached patch fixes incorrect bit rate values in riff headers when a conversion is done from 16 bit samples to alaw. [user@test ffmpeg-new]$ ./ffprobe ../sample.wav 21 | tail -4 Input #0, wav, from

Re: [FFmpeg-devel] [PATCH] ffmpeg 0.10.x set correct bit rate in riff wav headers

2014-08-12 Thread Wilfried Weissmann
...@ffmpeg.org [mailto:ffmpeg-devel- boun...@ffmpeg.org] Im Auftrag von Michael Niedermayer Gesendet: Dienstag, 12. August 2014 14:23 An: FFmpeg development discussions and patches Betreff: Re: [FFmpeg-devel] [PATCH] ffmpeg 0.10.x set correct bit rate in riff wav headers On Tue, Aug 12, 2014 at 11

Re: [FFmpeg-devel] [PATCH] ffmpeg 0.10.x set correct bit rate in riff wav headers

2014-08-12 Thread Carl Eugen Hoyos
Wilfried Weissmann wweissmann at realnetworks.com writes: I did cherry-pick from http://git.videolan.org/?p=ffmpeg.git;a=commit;h=7d7b40f4 to my local repo and applied it to the 0.10 branch. I assumed the test/ref/... are for unit tests and included these changes too. Is that what you are