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 23:27:02 +0000 (01:27 +0200)
commitaa0a8ef50e88e89a5c50dbf7ffc448a1a4315759
tree87791d8ad5fa1a038314257b79275a2854d9d83f
parentd6173ae341fabacf05608ceb7470d24befdbdc68
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