diff options
Diffstat (limited to 'gst/videoparsers/gstpngparse.c')
-rw-r--r-- | gst/videoparsers/gstpngparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/videoparsers/gstpngparse.c b/gst/videoparsers/gstpngparse.c index f4fa84efe..06b42500f 100644 --- a/gst/videoparsers/gstpngparse.c +++ b/gst/videoparsers/gstpngparse.c @@ -103,6 +103,7 @@ gst_png_parse_handle_frame (GstBaseParse * parse, GstByteReader reader; GstFlowReturn ret = GST_FLOW_OK; guint64 signature; + guint width = 0, height = 0; gst_buffer_map (frame->buffer, &map, GST_MAP_READ); gst_byte_reader_init (&reader, map.data, map.size); @@ -141,7 +142,6 @@ gst_png_parse_handle_frame (GstBaseParse * parse, for (;;) { guint32 length; guint32 code; - guint width, height; if (!gst_byte_reader_get_uint32_be (&reader, &length)) goto beach; |