[Ffmpeg-devel] [PATCH] cook compatible decoder

Sascha Sommer saschasommer
Mon Nov 7 09:15:56 CET 2005


On Monday 07 November 2005 00:50, Diego Biurrun wrote:
> 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:
> register_avcodec(&rawvideo_decoder);
>
> 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?
>

Could you upload one?
I saw the same on ppc. It went away when Benjamin fixed the vlc table.

Regards

Sascha





More information about the ffmpeg-devel mailing list