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, 1 Aug 2014 22:27:23 +0000 (00:27 +0200)
commitcfdb30d2f1241de9354a8efdbf8252d0f1a6f933
tree4ba2cd4b072a0bb715f64c0414ad520a97adef58
parentafd62b3f184569492230e7f34ad55581c6b2d2c3
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>
libavcodec/dvdsub_parser.c