diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-06 09:15:19 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2013-03-16 08:21:01 +0100 |
commit | 87e4f4c79a88212c4bc1a3e37a581ff88b9d9638 (patch) | |
tree | 2f465cf17a70d6873f652687fecd245f225d0fdf /libavcodec/ivi_common.c | |
parent | ca335f50002ff443e12cb7bb26b9fd06183f79a1 (diff) | |
download | ffmpeg-87e4f4c79a88212c4bc1a3e37a581ff88b9d9638.tar.gz |
roqvideodec: fix a potential infinite loop in roqvideo_decode_frame().
When there is just 1 byte remanining in the buffer, nothing will be read
and the loop will continue forever. Check that there are at least 8
bytes, which are always read at the beginning.
CC:libav-stable@libav.org
(cherry picked from commit 3e2f200237af977b9253b0aff121eee27bcedb44)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 747fbe0c212b81952bb27ec7b99fa709081e2d63)
Conflicts:
libavcodec/roqvideodec.c
Diffstat (limited to 'libavcodec/ivi_common.c')
0 files changed, 0 insertions, 0 deletions