changeset 3373:196d3d425f5a libavformat

merge init and declaration
author bcoudurier
date Tue, 27 May 2008 03:41:51 +0000
parents d0bf0a1a99c7
children 67b57431ac20
files swfenc.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/swfenc.c	Tue May 27 03:11:31 2008 +0000
+++ b/swfenc.c	Tue May 27 03:41:51 2008 +0000
@@ -307,12 +307,10 @@
     }
 
     if (audio_enc && audio_enc->codec_id == CODEC_ID_MP3) {
-        int v;
+        int v = 0;
 
         /* start sound */
         put_swf_tag(s, TAG_STREAMHEAD2);
-
-        v = 0;
         switch(audio_enc->sample_rate) {
         case 11025:
             v |= 1 << 2;