[FFmpeg-devel] [PATCH] LMLM4 demuxer

Michael Niedermayer michaelni
Sun Jan 6 23:25:18 CET 2008


On Sun, Jan 06, 2008 at 09:38:04PM +0100, Ivo wrote:
> 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?

i think so

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080106/313ce43a/attachment.pgp>



More information about the ffmpeg-devel mailing list