shaka-packager/packager/media
KongQun Yang 8767d20f38 Fix potential slice header size off by one byte in H265
In H265Parser::ParseSliceHeader, the parser does not handle
byte_alignment() from the spec. byte_alignment() reportedly contains
at least one bit, which is not handled right now.

See Section 7.3.2.12 Rec. ITU-T H.265 v3 (04/2015).

Also added a few size sanity checks in H265Parser to make sure the
code does not crash if an invalid input is provided.

Fixes #383.

Change-Id: I33b31396058fc5ba67a0fc119be5fe56ec9443b0
2018-05-03 18:13:07 +00:00
..
ad_cue_generator Change Scte35 to use double for time 2018-03-15 18:11:00 -07:00
base Support AAC with program_config_element() 2018-05-02 23:21:17 +00:00
chunking Set Text Time Scale In Tests 2018-05-01 22:43:13 +00:00
codecs Fix potential slice header size off by one byte in H265 2018-05-03 18:13:07 +00:00
crypto Fix SAMPLE-AES EC3 encryption 2018-01-24 03:02:49 +00:00
demuxer Removed Old WebVtt Code 2018-03-02 20:59:23 +00:00
event Fix bitrate for DASH on-demand profile too 2018-04-24 23:25:02 +00:00
formats Fix potential partial DASH segments during live packaging 2018-05-03 09:26:23 -07:00
origin Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
public Rename Playready to PlayReady. 2018-04-26 11:38:31 -07:00
replicator Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
test Add support for FLAC codec 2018-05-02 00:16:51 +00:00
trick_play Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00