From cfb22fe9858ba6ad776d57af034b8a2d278ed7be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Thu, 24 Mar 2011 21:46:09 +0200 Subject: [PATCH] h264parse: free PPS NAL buffers on cleanup Obviously a typo. Fixes bug #645502. --- gst/videoparsers/h264parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/videoparsers/h264parse.c b/gst/videoparsers/h264parse.c index 4430a0225d..0fac34e98d 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 (¶ms->sps_nals[i], NULL); for (i = 0; i < MAX_PPS_COUNT; i++) - gst_buffer_replace (¶ms->sps_nals[i], NULL); + gst_buffer_replace (¶ms->pps_nals[i], NULL); g_free (params); }