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)
committerAnton Khirnov <anton@khirnov.net>
Wed, 6 Aug 2014 18:32:42 +0000 (18:32 +0000)
commitc7d9b473e28238d4a4ef1b7e8b42c1cca256da36
treeb337c38d3625bbc5a811571514052b482d0eea08
parenta1599f3f7ea8478d1f6a95e59e3bc6bc86d5f812
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
libavcodec/cdgraphics.c