summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorRené Stadler <mail@renestadler.de>2011-03-24 21:46:09 +0200
committerRené Stadler <mail@renestadler.de>2011-03-24 22:39:04 +0200
commitcfb22fe9858ba6ad776d57af034b8a2d278ed7be (patch)
tree12c019a372d2b7b126eecc5310d8ff67e9ad90f5 /gst
parent3e4e198c5ed26c58d703b28eb417410b85e35370 (diff)
h264parse: free PPS NAL buffers on cleanup
Obviously a typo. Fixes bug #645502.
Diffstat (limited to 'gst')
-rw-r--r--gst/videoparsers/h264parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videoparsers/h264parse.c b/gst/videoparsers/h264parse.c
index 4430a0225..0fac34e98 100644
--- a/gst/videoparsers/h264parse.c
+++ b/gst/videoparsers/h264parse.c
@@ -1040,7 +1040,7 @@ gst_h264_params_free (GstH264Params * params)
for (i = 0; i < MAX_SPS_COUNT; i++)
gst_buffer_replace (&params->sps_nals[i], NULL);
for (i = 0; i < MAX_PPS_COUNT; i++)
- gst_buffer_replace (&params->sps_nals[i], NULL);
+ gst_buffer_replace (&params->pps_nals[i], NULL);
g_free (params);
}