changeset 31400:f6864e52d6be

Move codecs_file extern variable declaration to codec-cfg.h.
author diego
date Fri, 18 Jun 2010 17:00:23 +0000
parents a12626be522c
children 262d9759bfc5
files cfg-common.h codec-cfg.h
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Fri Jun 18 16:36:39 2010 +0000
+++ b/cfg-common.h	Fri Jun 18 17:00:23 2010 +0000
@@ -30,9 +30,7 @@
 #include "libmpdemux/demux_ts.h"
 #include "osdep/priority.h"
 #include "stream/network.h"
-
-/* defined in codec-cfg.c */
-extern char * codecs_file;
+#include "codec-cfg.h"
 
 /* defined in dec_video.c */
 extern int field_dominance;
--- a/codec-cfg.h	Fri Jun 18 16:36:39 2010 +0000
+++ b/codec-cfg.h	Fri Jun 18 17:00:23 2010 +0000
@@ -44,6 +44,9 @@
 #define CODECS_STATUS__MAX              2
 
 
+extern char *codecs_file;
+
+
 #if !defined(GUID_TYPE) && !defined(GUID_DEFINED)
 #define GUID_TYPE    1
 #define GUID_DEFINED 1