[FFmpeg-devel] [PATCH] riff: fix remuxing of g722 in wav

compn tempn at twmi.rr.com
Sat Aug 25 17:43:53 CEST 2012


On Sat, 25 Aug 2012 14:36:24 +0200, Piotr Bandurski wrote:
>
>attached patch seems to fix remuxing of g722 in wav
>
>tested with: http://samples.mplayerhq.hu/A-codecs/g722/msn-messenger-g722.wav
>
>     /* override bits_per_coded_sample for G.726 */
>-    if (codec->codec_id == AV_CODEC_ID_ADPCM_G726)
>+    if (codec->codec_id == AV_CODEC_ID_ADPCM_G722 || codec->codec_id == AV_CODEC_ID_ADPCM_G726)

you should update the comment too :P

-compn


More information about the ffmpeg-devel mailing list