vorbis: fix unused variable
authorThijs Vermeir <thijsvermeir@gmail.com>
Tue, 18 Dec 2012 14:34:42 +0000 (15:34 +0100)
committerThijs Vermeir <thijsvermeir@gmail.com>
Tue, 18 Dec 2012 14:34:42 +0000 (15:34 +0100)
ext/vorbis/gstvorbisdec.c

index 7f00a5c..8b10d57 100644 (file)
@@ -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
 }