[MPlayer-cvslog] r29447 - trunk/stream/realrtsp/real.c

Uoti Urpala uoti.urpala at pp1.inet.fi
Tue Jul 28 01:59:24 CEST 2009


On Tue, 2009-07-28 at 01:27 +0300, Ivan Kalvachev wrote:
> > @@ -386,6 +386,8 @@ int real_get_rdt_chunk(rtsp_t *rtsp_sess
> >      return (n <= 0) ? 0 : n;
> >    }
> >    rmff_dump_pheader(&ph, *buffer);
> > +  if (size < 12)
> > +      return 0;
> >    size-=12;
> >    n=rtsp_read_data(rtsp_session, (*buffer)+12, size);
> 
> I suspect that this fix is incomplete as MPlayer code is a little bit
> more complicated than the original and VLC one where this patch
> originates.

Yes there seems to be another similar case above (why say it in such a
circuitous way?).



More information about the MPlayer-cvslog mailing list