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)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 21 Mar 2014 13:47:44 +0000 (14:47 +0100)
commit644825f7a28061c7140ad5ab40700c3b3ce15458
tree28d9894063f7d2a69b02400e78d3212577e4609b
parent95f9f0f2830295d205af4e382d117f69c87b701c
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