h264parse: Clear SPS info after processing.
authorJan Schmidt <jan@centricular.com>
Thu, 6 Aug 2015 04:33:54 +0000 (14:33 +1000)
committerJan Schmidt <jan@centricular.com>
Sat, 15 Aug 2015 05:39:23 +0000 (15:39 +1000)
commitfdac09d843f6fed06f222485e8f43959430d994a
treed32a87acba262472ba4a2a50b86e034b89bcbd56
parent7a2f5d6b030e414f5d662eb73eb7849e9a5a4a1e
h264parse: Clear SPS info after processing.

The SPS struct might be filled out by a call to
gst_h264_parser_parse_subset_sps, which fills out
dynamically allocated data and requires a call
to gst_h264_sps_clear() to free it. Also make sure
to clear out any allocated SPS data when returning
an error.

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