commit | 2b56065a51c49a6235ac974c033c5751e8055869 | [log] [tgz] |
---|---|---|
author | Insun Kang <insun@google.com> | Fri Nov 23 19:00:07 2012 +0900 |
committer | Andreas Huber <andih@google.com> | Mon Feb 25 09:01:01 2013 -0800 |
tree | 9542d497e722bfa9caa041ea6385d5e70ed6a754 | |
parent | 99c2f923f6b04efffe949d1daf9cb7148e3cc201 [diff] |
Handles duplicated NAL start code to fix crash on HLS streams. Some youtube live streams are encoded having duplicated NAL start code, for instance, 00 00 01 00 00 00 01 .... In previous code, zero NAL size causes crash by CHECK_GT(nalsize, 0) macro. With this patch, duplicated NAL start code will be just ignored. TESTED=Played problematic Youtube Live streams. Change-Id: I1d76f111a34bd29cb09b037eb1b0626fe5f5b140