Make sure buffer end remains constant within the loop
authorLuca Barbato <lu_zero@gentoo.org>
Wed, 10 Jun 2009 14:56:50 +0000 (14:56 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 10 Jun 2009 14:56:50 +0000 (14:56 +0000)
commit4db819bc7f47f1fe41caec63ad6122d2c999c95c
tree254a57a99ea290ae8637166b8130aa051a2c329d
parentb19d493f2b9b59e50547c6ccb0d4d68c29267923
Make sure buffer end remains constant within the loop

otherwise ff_find_start_code could read over the buffer size

Originally committed as revision 19142 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtp_mpv.c