codecparsers: h264: add gst_h264_parse_nalu_header() helper.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 1 Oct 2012 07:48:06 +0000 (09:48 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 25 Mar 2014 14:56:10 +0000 (15:56 +0100)
commitcaf46d884a15470ae855751a8674bace01f0f450
treec09bf5576755630680360c82e4c68c1169d5492e
parentf75074e4eada3dbd1ed7f0af2165d04638ab8672
codecparsers: h264: add gst_h264_parse_nalu_header() helper.

Add helper to parse the NALU header. Move bounds checking to there.

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

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