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>
Mon, 24 Mar 2014 17:09:27 +0000 (18:09 +0100)
commit1b421808175ab96bf6fd22ccddb49837c152a72c
tree28293743dfdc81e76c82dd2ffdba5a277ad8d4be
parentaa73624638b89a76b3a6d44cbb5353edc86feaac
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