avcodec/dvdsub_parser: never return 0 when the input isnt 0
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 1 Aug 2014 22:27:23 +0000 (00:27 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 8 Aug 2014 14:19:48 +0000 (16:19 +0200)
commite5fcc16a1fa7386e89277387f47f1b20b297304b
treedf86bc6999b4be3433702e2f660aa2b4dbd8ccbd
parentfe461238d33e3b1ea9a8fdd8925d0ac584474fb6
avcodec/dvdsub_parser: never return 0 when the input isnt 0

Fixes a infinite loop
Fixes Ticket3804

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cfdb30d2f1241de9354a8efdbf8252d0f1a6f933)

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