[longomatch] Clean-up variables declaration



commit ce5bc31974e3b9fe9ff30cef60da0d34b33575bd
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Mon Apr 5 16:12:05 2010 +0200

    Clean-up variables declaration

 CesarPlayer/Utils/MediaFile.cs |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/CesarPlayer/Utils/MediaFile.cs b/CesarPlayer/Utils/MediaFile.cs
index 9abaa80..9600002 100644
--- a/CesarPlayer/Utils/MediaFile.cs
+++ b/CesarPlayer/Utils/MediaFile.cs
@@ -128,14 +128,9 @@ namespace LongoMatch.Video.Utils
 		
 			
 		public static MediaFile GetMediaFile(string filePath){
-			int duration;			
-			bool hasVideo;
-			bool hasAudio;
-			string audioCodec = "";
-			string videoCodec = "";
-			int fps=0;
-			int height=0;
-			int width=0;		
+			int duration, fps=0, height=0, width=0;			
+			bool hasVideo, hasAudio;
+			string audioCodec = "", videoCodec = "";
 			MultimediaFactory factory;
 			IMetadataReader reader = null;
 			



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