Commit 11dae336 authored by Baptiste Coudurier's avatar Baptiste Coudurier

merge init and declaration

Originally committed as revision 13460 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4a712c33
...@@ -307,12 +307,10 @@ static int swf_write_header(AVFormatContext *s) ...@@ -307,12 +307,10 @@ static int swf_write_header(AVFormatContext *s)
} }
if (audio_enc && audio_enc->codec_id == CODEC_ID_MP3) { if (audio_enc && audio_enc->codec_id == CODEC_ID_MP3) {
int v; int v = 0;
/* start sound */ /* start sound */
put_swf_tag(s, TAG_STREAMHEAD2); put_swf_tag(s, TAG_STREAMHEAD2);
v = 0;
switch(audio_enc->sample_rate) { switch(audio_enc->sample_rate) {
case 11025: case 11025:
v |= 1 << 2; v |= 1 << 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment