-
Måns Rullgård authored
If the format probe hits end of file, do not add the error code to the buffer position. This is obviously wrong, and with a small input file would cause a negative buffer overflow. Fixes issue 1818. Originally committed as revision 22571 to svn://svn.ffmpeg.org/ffmpeg/trunk
c7f625ee