h265parser: remove trailling 0x00 bytes as the spec doesn't allow them
authorThiago Santos <ts.santos@sisa.samsung.com>
Wed, 22 Jan 2014 13:26:32 +0000 (10:26 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Wed, 22 Jan 2014 13:27:01 +0000 (10:27 -0300)
commit24c87b18c242c75162e775ff7a729edce88b6a28
tree8f145f5578aa928d01415aa7b2a12791d3603794
parent4f0fc9a16fe0e340c48107cf62d17f75302d30d0
h265parser: remove trailling 0x00 bytes as the spec doesn't allow them

Just like h264, the spec doesn't allow the last bytes of a NAL to be 0x00.
So remove it as it is probably just padding.

This is related to https://bugzilla.gnome.org/show_bug.cgi?id=721384
gst-libs/gst/codecparsers/gsth265parser.c