codecparsers: h264: fix skipping of unsupported SEI messages.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 21 Mar 2014 16:07:19 +0000 (17:07 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 25 Mar 2014 14:56:09 +0000 (15:56 +0100)
commit4e36737ac879ce8ea356242b10248f19e96ce3b2
tree4925d1468b7f6d746410e25d50b702c672832f8a
parent530076692270d5ecfe9ab25e56745fe905a43570
codecparsers: h264: fix skipping of unsupported SEI messages.

The payloadSize does not account for emulation prevention bytes. So,
just use nal_reader_skip() for skipping payload_size bits. It should
be possible to further optimize this code since the NAL reader shall
be aligned to byte boundary already.

Kill the now unused nal_reader_skip_to_next_byte() function.

https://bugzilla.gnome.org/show_bug.cgi?id=726829

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/codecparsers/gsth264parser.c
gst-libs/gst/codecparsers/nalutils.c
gst-libs/gst/codecparsers/nalutils.h