[FFmpeg-devel] [PATCH] adpcm ima qt decoder fix

Baptiste Coudurier baptiste.coudurier
Fri Apr 25 13:06:52 CEST 2008


Hi,

2 patches related:

First patch:
channel/c->channel are init to 0 so, so we must not return when channel
is 1 but 0.
Also output is one sample less since for last sample:
samples += avctx->channels;

Second patch removes hack to decode whole frame at once, regression
tests pass.

I can apply directly the second patch also.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG SAS                                     http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adpcm_ima_qt_fix.patch
Type: text/x-diff
Size: 2198 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080425/7b4c3cdb/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adpcm_ima_qt_remove_dec_hack.patch
Type: text/x-diff
Size: 1445 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080425/7b4c3cdb/attachment-0001.patch>



More information about the ffmpeg-devel mailing list