changeset 3374:67b57431ac20 libavformat

cosmetics
author bcoudurier
date Tue, 27 May 2008 03:42:55 +0000
parents 196d3d425f5a
children 9877da0d8be3
files swfenc.c
diffstat 1 files changed, 3 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/swfenc.c	Tue May 27 03:41:51 2008 +0000
+++ b/swfenc.c	Tue May 27 03:42:55 2008 +0000
@@ -312,15 +312,9 @@
         /* 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");