Commit 2aaf590b authored by Baptiste Coudurier's avatar Baptiste Coudurier

cosmetics

Originally committed as revision 13461 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 11dae336
...@@ -312,15 +312,9 @@ static int swf_write_header(AVFormatContext *s) ...@@ -312,15 +312,9 @@ static int swf_write_header(AVFormatContext *s)
/* start sound */ /* start sound */
put_swf_tag(s, TAG_STREAMHEAD2); put_swf_tag(s, TAG_STREAMHEAD2);
switch(audio_enc->sample_rate) { switch(audio_enc->sample_rate) {
case 11025: case 11025: v |= 1 << 2; break;
v |= 1 << 2; case 22050: v |= 2 << 2; break;
break; case 44100: v |= 3 << 2; break;
case 22050:
v |= 2 << 2;
break;
case 44100:
v |= 3 << 2;
break;
default: default:
/* not supported */ /* not supported */
av_log(s, AV_LOG_ERROR, "swf does not support that sample rate, choose from (44100, 22050, 11025).\n"); av_log(s, AV_LOG_ERROR, "swf does not support that sample rate, choose from (44100, 22050, 11025).\n");
......
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