« Previous | Next » 

Revision c7f625ee

IDc7f625eecff0fb76f077d516c15a586576466e67
Parent 3bd74e92
Child 68f0bc7e

Added by Måns Rullgård over 10 years ago

Fix erroneous behaviour when format probe hits end of file

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences