shaka-packager/packager
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
..
app Remove "wvtt" from Master Playlist Codec String 2018-06-29 14:45:32 -07:00
buildtools/third_party Update DEPS to fix mac build failure 2016-08-19 13:49:41 -07:00
file Add Source Specific Multicast (SSM) support 2018-03-06 10:09:28 -08:00
hls Remove "wvtt" from Master Playlist Codec String 2018-06-29 14:45:32 -07:00
media Disregard trailing null bytes when locating RBSP stop bit 2018-06-29 14:48:27 -07:00
mpd [DASH] Fix potential text Segment Timeline not grouped 2018-06-29 14:46:52 -07:00
testing Add docker files for testing on various linux distros 2017-12-12 22:51:05 +00:00
third_party Sync protobuf to v3.3.0 2018-05-10 23:07:59 +00:00
tools Allow clang-format in presubmit to be disabled 2018-05-08 23:59:52 +00:00
version Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
common.gypi Fix build failures in MacOS 10.12.6 with XCode 9.0 2018-01-05 12:21:41 -08:00
packager.cc Warns if HLS type is not set to LIVE for UDP inputs 2018-06-29 14:39:27 -07:00
packager.gyp Integrate PackedAudioWriter 2018-05-16 18:12:42 -07:00
packager.h Support 'iframe_playlist_name' stream descriptor 2018-02-02 22:00:18 +00:00
packager_test.cc Add support for callback file 2017-09-07 19:26:26 +00:00
protoc.gypi Support generation of libpackager.so (shared_library) 2017-06-13 20:42:32 +00:00
status.cc Cleans up Status class 2018-01-31 03:32:07 +00:00
status.h Cleans up Status class 2018-01-31 03:32:07 +00:00
status_macros.h Generate full segment after cue point 2018-03-27 19:14:26 +00:00
status_test_util.h Implement multi DRM support. (Part 1) 2018-03-03 01:39:16 +00:00
status_unittest.cc Cleans up Status class 2018-01-31 03:32:07 +00:00