summaryrefslogtreecommitdiffstats
path: root/gst/flx/flx_fmt.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-02-19 11:57:58 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-02-19 11:57:58 +0000
commitb4d28290943826462216623b6f7aa01d8ee975a5 (patch)
tree28b415677fac2d8b3fee412dc37a1ed2d0a289f1 /gst/flx/flx_fmt.h
parentc64021f87d770e1e1ad8e62dd3be308bf05e7c53 (diff)
gst/flx/: Set MALLOCDATA for the temp buffers so we don't leak.
Original commit message from CVS: * gst/flx/flx_color.h: * gst/flx/flx_fmt.h: * gst/flx/gstflxdec.c: (gst_flxdec_init), (gst_flxdec_src_query_handler), (flx_decode_color), (gst_flxdec_chain): * gst/flx/gstflxdec.h: Set MALLOCDATA for the temp buffers so we don't leak. Some debug cleanups. Consume all data in the adapter before leaving the chain function. Fixes #330678.
Diffstat (limited to 'gst/flx/flx_fmt.h')
-rw-r--r--gst/flx/flx_fmt.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/gst/flx/flx_fmt.h b/gst/flx/flx_fmt.h
index 19be6820..ae0e268b 100644
--- a/gst/flx/flx_fmt.h
+++ b/gst/flx/flx_fmt.h
@@ -23,9 +23,7 @@
#include <gst/gst.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
enum Flx_TypeChunk
{
@@ -197,9 +195,6 @@ typedef struct _FlxFrameType
#endif /* G_BYTE_ORDER == G_BIG_ENDIAN */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __GST_FLX_FMT_H__ */