Mercurial > libavformat.hg
comparison voc.c @ 5854:3dc78fb78b2a libavformat
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.
author | mru |
---|---|
date | Tue, 16 Mar 2010 21:45:30 +0000 |
parents | 0d5653941bf9 |
children | c7b98381ec2d |
comparison
equal
deleted
inserted
replaced
5853:cf00e196666a | 5854:3dc78fb78b2a |
---|