From 25a70411d2cf335aa9f6673b494a310b148584fe Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 7 Oct 2005 17:17:41 +0000 Subject: [PATCH] declarations before code Original commit message from CVS: declarations before code --- ext/vorbis/vorbisenc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/vorbis/vorbisenc.c b/ext/vorbis/vorbisenc.c index 93f8d6a656..2097032e73 100644 --- a/ext/vorbis/vorbisenc.c +++ b/ext/vorbis/vorbisenc.c @@ -929,9 +929,6 @@ gst_vorbisenc_chain (GstPad * pad, GstBuffer * buffer) } if (!vorbisenc->header_sent) { - GST_DEBUG_OBJECT (vorbisenc, "creating and sending header packets"); - //gint result; - /* Vorbis streams begin with three headers; the initial header (with most of the codec setup parameters) which is mandated by the Ogg bitstream spec. The second header holds any comment fields. The @@ -944,6 +941,7 @@ gst_vorbisenc_chain (GstPad * pad, GstBuffer * buffer) GstBuffer *buf1, *buf2, *buf3; GstCaps *caps; + GST_DEBUG_OBJECT (vorbisenc, "creating and sending header packets"); gst_vorbisenc_set_metadata (vorbisenc); vorbis_analysis_headerout (&vorbisenc->vd, &vorbisenc->vc, &header, &header_comm, &header_code);