[FFmpeg-devel] [PATCH] IFF demuxer and 8SVX decoder

mark cox melbournemark+ffmpeg
Thu Mar 27 21:13:27 CET 2008


On Fri, Mar 28, 2008 at 7:00 AM, Michael Niedermayer <michaelni at gmx.at>
wrote:

> On Thu, Mar 27, 2008 at 11:48:10PM +0000, Jai Menon wrote:
> > On Thursday 27 March 2008 15:23:54 Michael Niedermayer wrote:
> > > On Thu, Mar 27, 2008 at 08:44:54PM +0000, Jai Menon wrote:
> > > > On Wednesday 26 March 2008 21:12:26 Michael Niedermayer wrote:
> > > > > uint8_t d = *buf++;
> > > > >
>
>
> [...]
> > +static int iff_probe(AVProbeData *p)
> > +{
> > +    const uint8_t *d = p->buf;
> > +
> > +    if (AV_RL32(d) == ID_FORM)
> > +        return AVPROBE_SCORE_MAX;
> > +    return 0;
> > +}
>
> this is insufficient, it also applies to wc3 files
> see libavformat/wc3movie.c
>
> From a quick read of wc3movie.c it looks to me like it should be merged
with the IFF demuxer as it seems to follow the same structure.

Regards,
mark




More information about the ffmpeg-devel mailing list