diff options
author | Martin Storsjö <martin@martin.st> | 2013-09-29 00:38:50 +0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2014-01-07 09:43:57 +0100 |
commit | 5a40e4c64d909006b401419f9ab9cc96ce0b7337 (patch) | |
tree | 8ec5f436f90391ca8a7de3de92eb5da51b231c40 /libavcodec/simple_idct_template.c | |
parent | ac1e61d5593d987876e2947b42a7aa37a4efcd4e (diff) | |
download | ffmpeg-5a40e4c64d909006b401419f9ab9cc96ce0b7337.tar.gz |
pcx: Consume the whole packet if giving up due to missing palette
Previously, we returned 0, meaning successful decoding but 0
bytes consumed, leading to an infinite loop.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 9fb0de86b49e9fb0709a8ad1e1875e35da841887)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit 812955a12b190012c134be33a93f27308953eb2f)
Diffstat (limited to 'libavcodec/simple_idct_template.c')
0 files changed, 0 insertions, 0 deletions