h264: reset data partitioning at the beginning of each decode call
authorAnton Khirnov <anton@khirnov.net>
Thu, 28 Nov 2013 09:54:35 +0000 (10:54 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sun, 1 Jun 2014 00:05:19 +0000 (20:05 -0400)
commit27ac9585c97d35b809382be5634c8e5f7211243a
treed19b7459e11839ca6ff653f9f4a9c73c77e2cea8
parent35ba079fbf281a066f3ac1e1271f3caa402dcd74
h264: reset data partitioning at the beginning of each decode call

Prevents using GetBitContexts with data from previous calls.

Fixes access to freed memory.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC:libav-stable@libav.org
libavcodec/h264.c