cdgraphics: do not return 0 from the decode function
authorAnton Khirnov <anton@khirnov.net>
Wed, 6 Aug 2014 10:56:34 +0000 (10:56 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Aug 2014 20:40:50 +0000 (22:40 +0200)
commita72b7286e6db0f5ffac386bb13fe6efe55fb0b12
tree8ea04f3986d142f7ebdcc6ed6bab9a21d52b8852
parent901e275697dee8a1512540d6d653e38a16103bfa
cdgraphics: do not return 0 from the decode function

0 means no data consumed, so it can trigger an infinite loop in the
caller.

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/cdgraphics.c