avcodec/parser: reset indexes on realloc failure
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 26 Sep 2013 19:03:48 +0000 (21:03 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 8 Mar 2014 15:25:20 +0000 (16:25 +0100)
commit6f9ae27f5136a29eea18effb033fe9d6f67b892e
tree85c8a97256377c941016358754a52194dff24430
parent55ad69e851aefdc8f45ae51e7069c818cd445ce6
avcodec/parser: reset indexes on realloc failure

Fixes Ticket2982

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

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