diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-27 03:42:55 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-05-27 03:42:55 +0000 |
commit | 2aaf590b17f40923a65d3cd017068293022b75ea (patch) | |
tree | 637d50ca93409583369185146772f9e456c16485 | |
parent | 11dae3365abbec43f687c29a5f1afc81f98432b2 (diff) | |
download | ffmpeg-2aaf590b17f40923a65d3cd017068293022b75ea.tar.gz |
cosmetics
Originally committed as revision 13461 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/swfenc.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index d69e786bf4..b888e873a0 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -312,15 +312,9 @@ static int swf_write_header(AVFormatContext *s) /* start sound */ put_swf_tag(s, TAG_STREAMHEAD2); switch(audio_enc->sample_rate) { - case 11025: - v |= 1 << 2; - break; - case 22050: - v |= 2 << 2; - break; - case 44100: - v |= 3 << 2; - break; + case 11025: v |= 1 << 2; break; + case 22050: v |= 2 << 2; break; + case 44100: v |= 3 << 2; break; default: /* not supported */ av_log(s, AV_LOG_ERROR, "swf does not support that sample rate, choose from (44100, 22050, 11025).\n"); |