diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2006-03-27 14:00:02 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2006-03-27 14:00:02 +0000 |
commit | 6de7310b7140b925ff3fa923443d3654588604b8 (patch) | |
tree | 0f17df0cb3d81dbb8ea148bf82461498769f3f4f /ext/speex/gstspeexenc.h | |
parent | 4c087b76da394fcde2a1035f55bf04977b68b2b0 (diff) |
ext/speex/gstspeexenc.*: Don't leak adapter.
Original commit message from CVS:
* ext/speex/gstspeexenc.c: (gst_speexenc_class_init),
(gst_speexenc_finalize), (gst_speexenc_sink_setcaps),
(gst_speexenc_chain):
* ext/speex/gstspeexenc.h:
Don't leak adapter.
A push *always* takes ownership of the buffer, even on
errors.
Small cleanups.
Diffstat (limited to 'ext/speex/gstspeexenc.h')
-rw-r--r-- | ext/speex/gstspeexenc.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/ext/speex/gstspeexenc.h b/ext/speex/gstspeexenc.h index d6dbbabc..2c5a588b 100644 --- a/ext/speex/gstspeexenc.h +++ b/ext/speex/gstspeexenc.h @@ -28,10 +28,7 @@ #include <speex/speex.h> #include <speex/speex_header.h> -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - +G_BEGIN_DECLS #define GST_TYPE_SPEEXENC \ (gst_speexenc_get_type()) @@ -122,10 +119,6 @@ struct _GstSpeexEncClass { GType gst_speexenc_get_type(void); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - +G_END_DECLS #endif /* __GST_SPEEXENC_H__ */ |