moved extern declaration up to prevent compile-time errors.
authoruid68734 <uid68734>
Sat, 27 Dec 2003 19:54:37 +0000 (19:54 +0000)
committeruid68734 <uid68734>
Sat, 27 Dec 2003 19:54:37 +0000 (19:54 +0000)
avi2swf/v2swf.c

index e4f14c5..312fcf7 100644 (file)
@@ -119,6 +119,12 @@ static void msg(char*format, ...)
     fflush(stdout);
 }
 
+extern int swf_mp3_in_samplerate;
+extern int swf_mp3_out_samplerate;
+extern int swf_mp3_channels;
+extern int swf_mp3_bitrate;
+
+
 static void writeShape(v2swf_internal_t*i, int id, int gfxid, int width, int height)
 {
     RGBA rgb;
@@ -189,11 +195,6 @@ static int getSamples(videoreader_t*video, S16*data, int len, double speedup)
     return 1;
 }
 
-extern int swf_mp3_channels;
-extern int swf_mp3_bitrate;
-extern int swf_mp3_out_samplerate;
-extern int swf_mp3_in_samplerate;
-
 static void writeAudioForOneFrame(v2swf_internal_t* i)
 {
     int blocksize;