changeset 31377:1d38e2c9c005

Add header file for the extern declarations from muxer_avi.c.
author diego
date Thu, 17 Jun 2010 08:28:43 +0000
parents ecfafda9a165
children 23e5b1a28984
files cfg-mencoder.h libmpdemux/muxer_avi.c libmpdemux/muxer_avi.h
diffstat 3 files changed, 27 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-mencoder.h	Thu Jun 17 08:22:21 2010 +0000
+++ b/cfg-mencoder.h	Thu Jun 17 08:28:43 2010 +0000
@@ -24,6 +24,7 @@
  */
 
 #include "libmpcodecs/ve_x264.h"
+#include "libmpdemux/muxer_avi.h"
 #include "cfg-common.h"
 
 extern const m_option_t faacopts_conf[];
@@ -166,9 +167,6 @@
     {NULL, NULL, 0, 0, 0, 0, NULL}
 };
 
-extern float avi_aspect_override; /* defined in libmpdemux/muxer_avi.c */
-extern int write_odml; /* defined in libmpdemux/muxer_avi.c */
-
 const m_option_t mencoder_opts[]={
     /* name, pointer, type, flags, min, max */
 
--- a/libmpdemux/muxer_avi.c	Thu Jun 17 08:22:21 2010 +0000
+++ b/libmpdemux/muxer_avi.c	Thu Jun 17 08:28:43 2010 +0000
@@ -29,7 +29,7 @@
 #include "stream/stream.h"
 #include "demuxer.h"
 #include "stheader.h"
-
+#include "muxer_avi.h"
 #include "muxer.h"
 #include "aviheader.h"
 #include "ms_hdr.h"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libmpdemux/muxer_avi.h	Thu Jun 17 08:28:43 2010 +0000
@@ -0,0 +1,25 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * MPlayer is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with MPlayer; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef MPLAYER_MUXER_AVI_H
+#define MPLAYER_MUXER_AVI_H
+
+extern float avi_aspect_override;
+extern int write_odml;
+
+#endif /* MPLAYER_MUXER_AVI_H */