[FFmpeg-devel] [PATCH] mov.c: factorize ff_mov_read_stsd_entries()

Baptiste Coudurier baptiste.coudurier
Sun Mar 15 11:57:39 CET 2009

Ronald S. Bultje wrote:
> Hi,
> On Sat, Mar 14, 2009 at 7:23 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> no flag,no string, the deocoder just decodes the frame and if something is
>> left afterwards its treated like a palette
> I tried that, doesn't work, MSRLE often doesn't "cleanly" end a sample
> (at least for the one that I tested). So you'd need a flag or
> something either way.

Well this MSRLE file uses multiple stsd, don't waste your time.

I finished with multi stsd support, and I already factorized the stsd
parsing code. Works quite well.

Now we need a way to concatenate these tracks in one output track in
ffmpeg.c :)

Patch attached.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multi_stsd.patch
Type: text/x-diff
Size: 10053 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090315/faa39efb/attachment.patch>

More information about the ffmpeg-devel mailing list