h264: reset data_partitioning if decoding the slice header for NAL_DPA fails
authorAnton Khirnov <anton@khirnov.net>
Thu, 28 Nov 2013 09:54:35 +0000 (10:54 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 3 Jan 2014 15:42:02 +0000 (16:42 +0100)
commit58312b2472d3a44d7458865c459d59ef2e02bf1a
tree54da3fa4d72d31d87c128463b2464f36bbaaede2
parente89aa4bf56e5b5c45f569eb12733519789e057da
h264: reset data_partitioning if decoding the slice header for NAL_DPA fails

If it was set before then we can end up trying to decode a slice without
a valid slice header, which can lead to invalid memory access.

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