summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflacdec.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-03-24 19:41:03 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-03-24 19:41:03 +0000
commit1aca0c541b4381deac3940125583c46a15c381ca (patch)
tree56f4d358d0ecc4846b2e0be1db3e486b9fd29172 /ext/flac/gstflacdec.h
parentaa23e235dc6b8c622c0e85b6020efce3facb3314 (diff)
ext/flac/: Spifify a bit.
Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flac_dec_handle_seek_event): * ext/flac/gstflacdec.h: * ext/flac/gstflacenc.h: Spifify a bit. Fix deadly lock order error in seeking code, STREAM_LOCK cannot be taken within LOCK and the streaming variables are protected with the STREAM_LOCK anyway.
Diffstat (limited to 'ext/flac/gstflacdec.h')
-rw-r--r--ext/flac/gstflacdec.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/ext/flac/gstflacdec.h b/ext/flac/gstflacdec.h
index f40bcc37..8987e562 100644
--- a/ext/flac/gstflacdec.h
+++ b/ext/flac/gstflacdec.h
@@ -26,10 +26,7 @@
#include <FLAC/all.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
+G_BEGIN_DECLS
#define GST_TYPE_FLAC_DEC gst_flac_dec_get_type()
#define GST_FLAC_DEC(obj) G_TYPE_CHECK_INSTANCE_CAST(obj, GST_TYPE_FLAC_DEC, GstFlacDec)
@@ -75,9 +72,6 @@ struct _GstFlacDecClass {
GType gst_flac_dec_get_type (void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GST_FLAC_DEC_H__ */