[FFmpeg-devel] [PATCH] LMLM4 demuxer

Ivo ivop
Sun Jan 6 21:38:04 CET 2008


On Sunday 06 January 2008 15:12, Michael Niedermayer wrote:
> On Sun, Jan 06, 2008 at 01:44:24PM +0100, Ivo wrote:
> > +static int lmlm4_probe(AVProbeData * pd) {
> > +    unsigned char *buf = pd->buf;
> > +    unsigned int frame_type, packet_size;
> > +
> > +    if (pd->buf_size < 10)
> > +        return 0;
>
> see AVPROBE_PADDING_SIZE
> its guranteed to be  larger than 10 so no need to check

I see. Removed it. Is the rest ok to apply?

--Ivo




More information about the ffmpeg-devel mailing list