vp6: Reset the internal state when aborting key frames header parsing
authorLaurent Aimar <fenrir@videolan.org>
Fri, 23 Sep 2011 20:36:11 +0000 (22:36 +0200)
committerReinhard Tartler <siretart@tauware.de>
Sat, 24 Dec 2011 14:47:57 +0000 (15:47 +0100)
commite28bb18fdc894dfdc1befa9f5e748ccb649a8c76
treec98d47912c15f25a5aa2169f59d6731503c97518
parenta62779d986292a5a4d5fb4c39031f9665c39b4a4
vp6: Reset the internal state when aborting key frames header parsing

It prevents leaving the state only half initialized.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
(cherry picked from commit a72cad0a6c05aa74940101e937cb3dc602d7d67b)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit c76505e0dee0890e39636ddebd2707ab3ea5b8de)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/vp6.c