OSDN Git Service

Merge commit '74d98d1b0e0e7af444c933ea3c472494de3ce6f2'
authorClément Bœsch <clement@stupeflix.com>
Tue, 21 Jun 2016 12:37:55 +0000 (14:37 +0200)
committerClément Bœsch <clement@stupeflix.com>
Tue, 21 Jun 2016 12:46:36 +0000 (14:46 +0200)
commit82439dec0fbf8a31159327ddf57096a0013109b9
tree355f9a1be10d10385321f7c4364dc4fc90d8886d
parent0cd5e281df3f69c1ed8f2a72a5bcbf9691e1b5d5
parent74d98d1b0e0e7af444c933ea3c472494de3ce6f2
Merge commit '74d98d1b0e0e7af444c933ea3c472494de3ce6f2'

* commit '74d98d1b0e0e7af444c933ea3c472494de3ce6f2':
  mpegts: Validate the SL Packet Header Configuration

See e630ca5111077fa8adc972fe8a3d7e2b3e8dc91f

Our local timestamp_len > 64 is adjusted to > 63 to match the Libav
check and the actual specifications (14496-1, 10.2.2).

There is no need to request a sample as it violates the specifications
and such a file would likely be the result of a crafted/fuzzed sample.

On the other hand, the clipping of the value is kept for extra safety.

Merged-by: Clément Bœsch <clement@stupeflix.com>
libavformat/mpegts.c