codecparsers: h264: fix error code for invalid size parsed in SPS.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 21 Sep 2012 16:23:21 +0000 (18:23 +0200)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 19 Nov 2012 12:06:04 +0000 (12:06 +0000)
commitc951d201ec88696157c7a5ad2de27e1b73b01e04
tree7ea518e9c7f5879b3464cd5cf664413176eee129
parentb955c1233f54ea271cd350a62bdd0e44bfc33797
codecparsers: h264: fix error code for invalid size parsed in SPS.

gst_h264_parse_sps() returned FALSE if it parsed invalid (negative)
size components. Now make it gracefully return GST_H264_PARSER_ERROR
instead of GST_H264_PARSER_OK (FALSE).

https://bugzilla.gnome.org/show_bug.cgi?id=684568
gst-libs/gst/codecparsers/gsth264parser.c