[FFmpeg-devel] [PATCH]lavf/riff: Do not use a rogue twocc for adpcm_swf

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Sep 18 01:48:27 EEST 2016


2016-09-17 18:26 GMT+02:00 Michael Niedermayer <michael at niedermayer.cc>:

>> >> Is it possible to fix adpcm_swf in wav?
>> >
>> > maybe if block_align is set (and is constant)
>>
>> Attached fixes encoding, decoding still has the issue
>> that the decoder doesn't like more than one packet.
>> (Iiuc, it works if I limit the packet size in the wav demuxer.)

>>  adpcmenc.c |    1 +
>>  1 file changed, 1 insertion(+)
>> dccfa2d54e899c17dcb57b8e37658955dfa6ea9c  0001-lavc-adpcmenc-Set-block_align-for-adpcm_swf.patch
>> From 168bc2f828ffd7f85c0db736e6097e4198854c5d Mon Sep 17 00:00:00 2001
>> From: Carl Eugen Hoyos <cehoyos at ag.or.at>
>> Date: Sat, 17 Sep 2016 15:01:19 +0200
>> Subject: [PATCH] lavc/adpcmenc: Set block_align for adpcm_swf.
>>
>> ---
>>  libavcodec/adpcmenc.c |    1 +
>>  1 file changed, 1 insertion(+)
>
> LGTM

It unfortunately still needs a decoder fix that I may not be
able to provide, I tested by reducing MAX_SIZE in wavdec.c

Carl Eugen


More information about the ffmpeg-devel mailing list