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)
committerAnton Khirnov <anton@khirnov.net>
Tue, 4 Feb 2014 10:26:17 +0000 (11:26 +0100)
commit1f097d168d9cad473dd44010a337c1413a9cd198
tree66c6be8064c702d14d2038c7339f75105476eb72
parente46ad30a808744ddf3855567e162292a4eaabac7
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