summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>2015-04-10 15:34:40 +0300
committerSebastian Dröge <sebastian@centricular.com>2015-04-30 21:49:17 +0200
commit5770a96c8d43fd744a348f869746b26ac648afa3 (patch)
treeba175aeb20d921879b7bfd20bf3e1e9f2d39ad33 /gst
parenta70c4f319dd3bb39ab43e4e5c0951d8f7f883e7e (diff)
h265parse: Fix the memory freeing of stored VPS nals
https://bugzilla.gnome.org/show_bug.cgi?id=747613
Diffstat (limited to 'gst')
-rw-r--r--gst/videoparsers/gsth265parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c
index 95d7c526e..01546d9b7 100644
--- a/gst/videoparsers/gsth265parse.c
+++ b/gst/videoparsers/gsth265parse.c
@@ -229,7 +229,7 @@ gst_h265_parse_stop (GstBaseParse * parse)
GST_DEBUG_OBJECT (parse, "stop");
gst_h265_parse_reset (h265parse);
- for (i = 0; i < GST_H265_MAX_SPS_COUNT; i++)
+ for (i = 0; i < GST_H265_MAX_VPS_COUNT; i++)
gst_buffer_replace (&h265parse->vps_nals[i], NULL);
for (i = 0; i < GST_H265_MAX_SPS_COUNT; i++)
gst_buffer_replace (&h265parse->sps_nals[i], NULL);