[FFmpeg-devel] [PATCH] LMLM4 demuxer
Ivo
ivop
Tue Jan 8 00:54:37 CET 2008
On Sunday 06 January 2008 23:25, Michael Niedermayer wrote:
> 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
Ok, applied.
--Ivo
More information about the ffmpeg-devel
mailing list