summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThijs Vermeir <thijsvermeir@gmail.com>2012-12-18 15:34:42 +0100
committerJosep Torra <n770galaxy@gmail.com>2013-03-10 17:33:13 +0100
commitc611fb1951ff98291ab1abf330397ae85f6dd6e9 (patch)
tree99fc7c5d9e0340e5ade0d0118c54f83cf30cfb83
parent14e6cb934115b2494069781083047532ece7cc93 (diff)
downloadgstreamer-plugins-base-c611fb1951ff98291ab1abf330397ae85f6dd6e9.tar.gz
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 d4e1eedfe..99df68d73 100644
--- a/ext/vorbis/gstvorbisdec.c
+++ b/ext/vorbis/gstvorbisdec.c
@@ -704,9 +704,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
}