[FFmpeg-cvslog] r19142 - trunk/libavformat/rtp_mpv.c

Luca Barbato lu_zero
Thu Jun 11 12:31:14 CEST 2009


Luca Abeni wrote:
>> otherwise ff_find_start_code could read over the buffer size
> Are you sure about this?

Hmm, I checked that in after I found a bug in feng's mpv parser (in that
case size wasn't decremented)

> Because, buf1 and size are updated like this:
>         buf1 += len;
>         size -= len;
> so, buf1 + size should stay constant...

Right, in feng it was an actual bug, in ffmpeg it was just an add that
now is factored out. Maybe I should edit/amend the comment

lu

-- 

Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-cvslog mailing list