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

Baptiste Coudurier baptiste.coudurier
Sun Mar 15 22:02:59 CET 2009


Ronald S. Bultje wrote:
> Hi,
> 
> On Sun, Mar 15, 2009 at 6:57 AM, Baptiste Coudurier
> <baptiste.coudurier at gmail.com> wrote:
>> 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.
> 
> Woohoo.
> 
> +        sc->stsd_data[i].size = size;
> +        AV_WB32(sc->stsd_data[i].data, size);
> +        get_buffer(pb, sc->stsd_data[i].data+4, size-4);
> 
> If you're saving the size anyway, no need to prepend it to the data.
> I'll cut it off myself from the SDP

Because I believe SVQ3 expect extradata in this format, not sure though.

[...]

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org




More information about the ffmpeg-devel mailing list