flicvideo: avoid an infinite loop in byte run compression
authorAnton Khirnov <anton@khirnov.net>
Thu, 14 Feb 2013 11:40:36 +0000 (12:40 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sat, 23 Feb 2013 13:40:13 +0000 (14:40 +0100)
commit612b28194b4c1fb55c8620a8cddf77ea6e81b9bf
tree88c62911890f9ffaf1a3aadc281855faee9c049e
parent8bce2c60b8ebc31899d576dde3bbe6205faae97d
flicvideo: avoid an infinite loop in byte run compression

When byte_run is 0, pixel_countdown is not touched and the loop will run
forever.

CC:libav-stable@libav.org
(cherry picked from commit ddfe1246d98f70cdce368a2176196ba26ed7bf2d)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/flicvideo.c