Commit e5434655 authored by bcoudurier's avatar bcoudurier

cosmetics

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13461 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1101fcbb
...@@ -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