gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r11413: Fix ffmpeg compile.


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11413: Fix ffmpeg compile.
Date: Thu, 13 Aug 2009 08:28:16 +0200
User-agent: Bazaar (1.16.1)

------------------------------------------------------------
revno: 11413
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2009-08-13 08:28:16 +0200
message:
  Fix ffmpeg compile.
modified:
  libcore/asobj/flash/media/Microphone_as.cpp
=== modified file 'libcore/asobj/flash/media/Microphone_as.cpp'
--- a/libcore/asobj/flash/media/Microphone_as.cpp       2009-08-12 15:25:48 
+0000
+++ b/libcore/asobj/flash/media/Microphone_as.cpp       2009-08-13 06:28:16 
+0000
@@ -257,17 +257,18 @@
         } else {
             //set to highest or lowest gain if bad value was passed
 #ifdef USE_GST
-        if (argument < 0) {
-            ptr->set_gain(-60);
-        } else if (argument > 100) {
-            ptr->set_gain(60);
-        }
+            if (argument < 0) {
+                ptr->set_gain(-60);
+            } else if (argument > 100) {
+                ptr->set_gain(60);
+            }
 #endif
 #ifdef USE_FFMPEG
-        if (argument < 0) {
-            ptr->set_gain(0);
-        } else if (arument > 100) {
-            ptr->set_gain(100);
+            if (argument < 0) {
+                ptr->set_gain(0);
+            } else if (argument > 100) {
+                ptr->set_gain(100);
+            }
 #endif
         }
     }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]