diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-06 09:15:19 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-08 08:11:35 +0100 |
commit | 3e2f200237af977b9253b0aff121eee27bcedb44 (patch) | |
tree | 73d63cefeaee192e7115bddd8988b30ca5c16a2a /libavcodec/ivi_common.c | |
parent | 8a49d2bcbe7573bb4b765728b2578fac0d19763f (diff) | |
download | ffmpeg-3e2f200237af977b9253b0aff121eee27bcedb44.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
Diffstat (limited to 'libavcodec/ivi_common.c')
0 files changed, 0 insertions, 0 deletions