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:46:36 +0000 (18:46 +0000)
commit80c268eaaee402695a74d14acf76063100692a99
tree3fb7eca6c3944a01ed727156ce883e6d9dc51f82
parent8cd67ddde46a42a33149e7d42a2ab47852ff2a83
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: Anton Khirnov <anton@khirnov.net>
Conflicts:
libavcodec/cdgraphics.c
libavcodec/cdgraphics.c