[Ffmpeg-devel] [PATCH] cook compatible decoder

Diego Biurrun diego
Mon Nov 7 00:50:53 CET 2005

On Sun, Nov 06, 2005 at 11:23:47PM +0100, Benjamin Larsson wrote:
> Benjamin Larsson wrote:
> >http://tranquillity.campus.luth.se/~banan/cook/
> >
> >patch -p0 <cookffmpeg.patch
> >
> >Please review, test and comment. The rm demuxer patch is made by Roberto
> >Togni.
> >I think the decoder wont work on BE systems.
> >
> Revised patch is up now, following has changed:
> BE fixes, one vlc table wasn't correct. Decoder should work on BE now.
> Removed an unused buffer.
> Silenced some av_logs.
> Buffers are aligned.
> Patch updated.

cerebus:~/src/ffmpeg$ patch --dry-run -p0 < cookffmpeg.patch 
patching file libavcodec/Makefile
Hunk #1 FAILED at 18.
1 out of 1 hunk FAILED -- saving rejects to file libavcodec/Makefile.rej
patching file libavcodec/allcodecs.c
patch: **** malformed patch at line 32:

Anyway, after handediting the patch it works flawlessly.  Excellent work!

However, some samples still trigger the following:

*** glibc detected *** double free or corruption (!prev): 0x10312e70 ***

Do you need such a sample for testing?


More information about the ffmpeg-devel mailing list