h264_ps: when parsing a VUI fails, only abort when explode is set
authorAnton Khirnov <anton@khirnov.net>
Sat, 26 Oct 2013 08:22:31 +0000 (10:22 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 27 Oct 2013 20:39:01 +0000 (21:39 +0100)
commit94603feb1b3ad01a821a1a1cef1570b13f471821
tree896367769d901dd138b4dc1fe9ec78a1f0390066
parent79ef4b19bfcab8b984682a53bb8561e5c8324731
h264_ps: when parsing a VUI fails, only abort when explode is set

A VUI doesn't contain anything strictly necessary for decoding.
Apparently there are many samples with truncated VUIs in the wild, this
commit should allow decoding them.
libavcodec/h264_ps.c