OSDN Git Service

h264: Do not fail on unsupported timing info
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 15 Apr 2015 12:27:01 +0000 (13:27 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 16 Apr 2015 01:41:41 +0000 (03:41 +0200)
commit7498f2221ef21335db296e091467418363d1e88f
tree8e36de444b842c82c6815969bc7a9b09d7ebc708
parentc5d4f87e81111427c0952278ec247fa8ab1e6e52
h264: Do not fail on unsupported timing info

The spec madandate both time_scale and num_units_in_tick greater than 0,
however since they are not essential for decoding, just ignore the whole
block and try to finish parsing the VUI.

Related to Ticket4445.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
libavcodec/h264_ps.c