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>
Mon, 24 Mar 2014 18:38:13 +0000 (19:38 +0100)
commit8dc7ab49fe430a6626da7552dd41db8603a67811
treeaf7e19c163951bffc636bc947e4950f53086fa29
parente61ae7ffa2560d4954dee63a64993369ca16c705
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