shaka-packager/packager/media
KongQun Yang 577c219fb4 Disregard trailing null bytes when locating RBSP stop bit
This is a more faithful implementation of more_rbsp_data().

There could be trailing null bytes in NAL units. This isn't valid per
H264 specification, but the referenced bug includes a sample where the
PPS in the avcC record includes a trailing null byte.

Workaround the problem so packager does not fail.

A similar problem is workarounded in Chrome:
https://codereview.chromium.org/1107593004

Closes #418

Change-Id: I28cb8a9371945dc094f766c3e559d7a66859b451
2018-06-29 14:48:27 -07:00
..
ad_cue_generator Change Scte35 to use double for time 2018-03-15 18:11:00 -07:00
base Support entitlement license with Widevine key server 2018-05-17 21:03:05 +00:00
chunking Fix Cue Insertion at Text Stream End 2018-05-15 22:01:09 +00:00
codecs Disregard trailing null bytes when locating RBSP stop bit 2018-06-29 14:48:27 -07: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 Integrate PackedAudioWriter 2018-05-16 18:12:42 -07:00
formats Extract bitrates in ES descriptor for AAC if available 2018-05-22 11:59:58 -07:00
origin Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
public Support entitlement license with Widevine key server 2018-05-17 21:03:05 +00: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