From 513d480fbff380e9ce279242ededd7d1f19ed7af Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 16 Mar 2012 21:47:21 +0100 Subject: don't pass random pointers to pull_range --- ext/libpng/gstpngdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/libpng/gstpngdec.c b/ext/libpng/gstpngdec.c index aae356fca..0c10b4cd5 100644 --- a/ext/libpng/gstpngdec.c +++ b/ext/libpng/gstpngdec.c @@ -282,7 +282,7 @@ static void user_read_data (png_structp png_ptr, png_bytep data, png_size_t length) { GstPngDec *pngdec; - GstBuffer *buffer; + GstBuffer *buffer = NULL; GstFlowReturn ret = GST_FLOW_OK; guint size; -- cgit v1.2.1