summaryrefslogtreecommitdiff
path: root/ext/libpng
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libpng')
-rw-r--r--ext/libpng/gstpngdec.c2
1 files changed, 1 insertions, 1 deletions
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;