From f5501e25a29bbfba2d2bddd10843544628dab170 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 19 Sep 2002 15:17:02 +0000 Subject: [PATCH] yay, I can commit again !!! this fixes warnings I had Original commit message from CVS: yay, I can commit again !!! this fixes warnings I had --- ext/flac/flac_compat.h | 3 +-- ext/flac/gstflacenc.c | 18 +++++++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ext/flac/flac_compat.h b/ext/flac/flac_compat.h index ca3e4d968..f1af0ebae 100644 --- a/ext/flac/flac_compat.h +++ b/ext/flac/flac_compat.h @@ -38,5 +38,4 @@ #endif /* FLAC_VERSION < 0x010003 */ -#endif - +#endif /* _FLAC_COMPAT_H_ */ diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index a4681f2de..0aca49e95 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -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)); -- 2.34.1