diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-27 03:41:51 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-27 03:41:51 +0000 |
commit | 11dae3365abbec43f687c29a5f1afc81f98432b2 (patch) | |
tree | b2af0db09d51819a25b01b2312c535b17a129e88 | |
parent | 4a712c3378f2c8e3bad2a73b11adec0fbcb1c937 (diff) | |
download | ffmpeg-11dae3365abbec43f687c29a5f1afc81f98432b2.tar.gz |
merge init and declaration
Originally committed as revision 13460 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/swfenc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index bb9cb6f616..d69e786bf4 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -307,12 +307,10 @@ static int swf_write_header(AVFormatContext *s) } 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; |