summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Vermeir <thijsvermeir@gmail.com>2012-12-18 15:34:42 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-12-18 16:08:11 +0000
commitd0384e56408eec77f360c86114204c2e41d9a6a8 (patch)
tree7986b25faf29b009b642d51a3da3cae7671ab42f
parente69acc1a1746343dec0fca0c85d1bc41e7c12997 (diff)
vorbis: fix unused variable
-rw-r--r--ext/vorbis/gstvorbisdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/vorbis/gstvorbisdec.c b/ext/vorbis/gstvorbisdec.c
index ac0632f7e..a0622616e 100644
--- a/ext/vorbis/gstvorbisdec.c
+++ b/ext/vorbis/gstvorbisdec.c
@@ -623,9 +623,9 @@ empty_header:
static void
vorbis_dec_flush (GstAudioDecoder * dec, gboolean hard)
{
+#ifdef HAVE_VORBIS_SYNTHESIS_RESTART
GstVorbisDec *vd = GST_VORBIS_DEC (dec);
-#ifdef HAVE_VORBIS_SYNTHESIS_RESTART
vorbis_synthesis_restart (&vd->vd);
#endif
}