diff Plugins/Input/wma/libffwma/allcodecs.c @ 218:0bea7509d6ba trunk

[svn] Working WMA support. I never said it would be pretty, neno, I should said it would play.
author chainsaw
date Mon, 21 Nov 2005 14:59:13 -0800
parents 12004b385a96
children f12d7e208b43
line wrap: on
line diff
--- a/Plugins/Input/wma/libffwma/allcodecs.c	Sun Nov 20 20:02:32 2005 -0800
+++ b/Plugins/Input/wma/libffwma/allcodecs.c	Mon Nov 21 14:59:13 2005 -0800
@@ -1,6 +1,7 @@
 /*
  * Utils for libavcodec
  * Copyright (c) 2002 Fabrice Bellard.
+ * Copyright (c) 2004 Roman Bogorodskiy (bmp-wma specific stuff)
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -17,33 +18,17 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-/**
- * @file allcodecs.c
- * Utils for libavcodec.
- */
-
 #include "avcodec.h"
 
-/* If you do not call this function, then you can select exactly which
-   formats you want to support */
-
-/**
- * simple call to register all the codecs. 
- */
 void avcodec_register_all(void)
 {
-    static int inited = 0;
+	static int inited = 0;
     
-    if (inited != 0)
-	return;
-    inited = 1;
+    	if (inited != 0)
+		return;
+    	inited = 1;
 
-    /* decoders */
-#ifdef CONFIG_DECODERS
-#ifdef CONFIG_RISKY
-    register_avcodec(&wmav1_decoder);
-    register_avcodec(&wmav2_decoder);
-#endif
-#endif
+    	register_avcodec(&wmav1_decoder);
+    	register_avcodec(&wmav2_decoder);
 }