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

Luca Abeni lucabe72
Wed Jun 10 17:05:32 CEST 2009

Hi Luca,

lu_zero wrote:
> Author: lu_zero
> Date: Wed Jun 10 16:56:50 2009
> New Revision: 19142
> Log:
> Make sure buffer end remains constant within the loop
> otherwise ff_find_start_code could read over the buffer size
Are you sure about this?

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

Have you seen some kind of problem with the previous code?
If yes, how can I reproduce it?
(unless I misunderstand something, this change cannot fix
any bug... So, if you saw some kind of problem it's still
there - or am I missing something?)


More information about the ffmpeg-cvslog mailing list