summaryrefslogtreecommitdiffstats
path: root/ext/libpng/gstpngdec.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-07-17 10:22:54 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-07-17 10:22:54 +0000
commitcc350794fbe9e138188457e0214c861ffe607d33 (patch)
tree9616ef1c77e27f236ac4fe619a7242fe8e0b2156 /ext/libpng/gstpngdec.h
parentf6a274239a935b7e0ff70a227a7b61ae7e287077 (diff)
ext/libpng/gstpngdec.*: Use statically allocated segment instead of leaking.
Original commit message from CVS: * ext/libpng/gstpngdec.c: (gst_pngdec_init), (buffer_clip), (gst_pngdec_caps_create_and_set), (gst_pngdec_task), (gst_pngdec_chain), (gst_pngdec_sink_event), (gst_pngdec_libpng_init), (gst_pngdec_change_state), (gst_pngdec_sink_activate_push): * ext/libpng/gstpngdec.h: Use statically allocated segment instead of leaking. Various cleanups. Fix flush and seek handling.
Diffstat (limited to 'ext/libpng/gstpngdec.h')
-rw-r--r--ext/libpng/gstpngdec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/libpng/gstpngdec.h b/ext/libpng/gstpngdec.h
index 5b11d5e5..f7c4675a 100644
--- a/ext/libpng/gstpngdec.h
+++ b/ext/libpng/gstpngdec.h
@@ -67,7 +67,8 @@ struct _GstPngDec
gboolean framed;
GstClockTime in_timestamp;
GstClockTime in_duration;
- GstSegment *segment;
+
+ GstSegment segment;
};
struct _GstPngDecClass