[FFmpeg-cvslog] r13460 - trunk/libavformat/swfenc.c

bcoudurier subversion
Tue May 27 05:41:52 CEST 2008


Author: bcoudurier
Date: Tue May 27 05:41:51 2008
New Revision: 13460

Log:
merge init and declaration

Modified:
   trunk/libavformat/swfenc.c

Modified: trunk/libavformat/swfenc.c
==============================================================================
--- trunk/libavformat/swfenc.c	(original)
+++ trunk/libavformat/swfenc.c	Tue May 27 05:41:51 2008
@@ -307,12 +307,10 @@ static int swf_write_header(AVFormatCont
     }
 
     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;




More information about the ffmpeg-cvslog mailing list