yay, I can commit again !!! this fixes warnings I had
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 19 Sep 2002 15:17:02 +0000 (15:17 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 19 Sep 2002 15:17:02 +0000 (15:17 +0000)
Original commit message from CVS:
yay, I can commit again !!!

this fixes warnings I had

ext/flac/flac_compat.h
ext/flac/gstflacenc.c

index ca3e4d9..f1af0eb 100644 (file)
@@ -38,5 +38,4 @@
 
 #endif /* FLAC_VERSION < 0x010003 */
 
-#endif
-
+#endif /* _FLAC_COMPAT_H_ */
index a4681f2..0aca49e 100644 (file)
@@ -329,15 +329,15 @@ gst_flacenc_update_quality (FlacEnc *flacenc, gint quality)
 {
   flacenc->quality = quality;
 
-#define DO_UPDATE(name, val, str)                              \
-G_STMT_START{                                                   \
-  if (FLAC__stream_encoder_get_##name (flacenc->encoder) !=    \
-      flacenc_params[quality].##val) {                         \
-    FLAC__stream_encoder_set_##name (flacenc->encoder,                 \
-      flacenc_params[quality].##val);                          \
-    g_object_notify (G_OBJECT (flacenc), str);                  \
-  };                                                            \
-} G_STMT_END
+#define DO_UPDATE (name, val, str)                             \
+  G_STMT_START {                                                \
+    if (FLAC__stream_encoder_get_##name (flacenc->encoder) !=  \
+        flacenc_params[quality].val) {                         \
+      FLAC__stream_encoder_set_##name (flacenc->encoder,       \
+          flacenc_params[quality].val);                                \
+      g_object_notify (G_OBJECT (flacenc), str);                \
+    }                                                           \
+  } G_STMT_END
 
   g_object_freeze_notify (G_OBJECT (flacenc));