summaryrefslogtreecommitdiffstats
path: root/ext/libpng
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
committerJohan Dahlin <johan@gnome.org>2004-03-15 16:32:54 +0000
commit5acffea623eaa95469a8fb77260c85240c6c0a41 (patch)
tree5d1eb5b3c6cbe7ff7888cfe0b2f972f7e509e99d /ext/libpng
parentf878cc16402dcc70f31861bb120f435f3157c518 (diff)
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
Diffstat (limited to 'ext/libpng')
-rw-r--r--ext/libpng/gstpngenc.h47
1 files changed, 23 insertions, 24 deletions
diff --git a/ext/libpng/gstpngenc.h b/ext/libpng/gstpngenc.h
index 1c521260..59bc4ab4 100644
--- a/ext/libpng/gstpngenc.h
+++ b/ext/libpng/gstpngenc.h
@@ -25,9 +25,8 @@
#include <png.h>
#ifdef __cplusplus
-extern "C"
-{
-#endif /* __cplusplus */
+extern "C" {
+#endif /* __cplusplus */
#define GST_TYPE_PNGENC (gst_pngenc_get_type())
@@ -36,37 +35,37 @@ extern "C"
#define GST_IS_PNGENC(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PNGENC))
#define GST_IS_PNGENC_CLASS(obj)(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PNGENC))
- typedef struct _GstPngEnc GstPngEnc;
- typedef struct _GstPngEncClass GstPngEncClass;
+typedef struct _GstPngEnc GstPngEnc;
+typedef struct _GstPngEncClass GstPngEncClass;
- extern GstPadTemplate *pngenc_src_template, *pngenc_sink_template;
+extern GstPadTemplate *pngenc_src_template, *pngenc_sink_template;
- struct _GstPngEnc
- {
- GstElement element;
+struct _GstPngEnc
+{
+ GstElement element;
- GstPad *sinkpad, *srcpad;
- GstBuffer *buffer_out;
+ GstPad *sinkpad, *srcpad;
+ GstBuffer *buffer_out;
- png_structp png_struct_ptr;
- png_infop png_info_ptr;
+ png_structp png_struct_ptr;
+ png_infop png_info_ptr;
- gint width;
- gint height;
- gint bpp;
- };
+ gint width;
+ gint height;
+ gint bpp;
+};
- struct _GstPngEncClass
- {
- GstElementClass parent_class;
- };
+struct _GstPngEncClass
+{
+ GstElementClass parent_class;
+};
- GType gst_pngenc_get_type (void);
+GType gst_pngenc_get_type(void);
#ifdef __cplusplus
}
-#endif /* __cplusplus */
+#endif /* __cplusplus */
-#endif /* __GST_PNGENC_H__ */
+#endif /* __GST_PNGENC_H__ */