[MPlayer-cvslog] r30629 - in trunk/libmpdemux: asfheader.c asfheader.h demux_asf.c
diego
subversion at mplayerhq.hu
Thu Feb 18 00:45:02 CET 2010
Author: diego
Date: Thu Feb 18 00:45:01 2010
New Revision: 30629
Log:
Add header for asf_check_header, read_asf_header; avoids forward declarations.
Added:
trunk/libmpdemux/asfheader.h
Modified:
trunk/libmpdemux/asfheader.c
trunk/libmpdemux/demux_asf.c
Modified: trunk/libmpdemux/asfheader.c
==============================================================================
--- trunk/libmpdemux/asfheader.c Thu Feb 18 00:40:48 2010 (r30628)
+++ trunk/libmpdemux/asfheader.c Thu Feb 18 00:45:01 2010 (r30629)
@@ -33,8 +33,8 @@
#include "stheader.h"
#include "asf.h"
-
#include "asfguid.h"
+#include "asfheader.h"
typedef struct {
// must be 0 for metadata record, might be non-zero for metadata lib record
Added: trunk/libmpdemux/asfheader.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/libmpdemux/asfheader.h Thu Feb 18 00:45:01 2010 (r30629)
@@ -0,0 +1,28 @@
+/*
+ * This file is part of MPlayer.
+ *
+ * MPlayer is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU 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_ASFHEADER_H
+#define MPLAYER_ASFHEADER_H
+
+#include "asf.h"
+#include "demuxer.h"
+
+int asf_check_header(demuxer_t *demuxer);
+int read_asf_header(demuxer_t *demuxer, struct asf_priv *asf);
+
+#endif /* MPLAYER_ASFHEADER_H */
Modified: trunk/libmpdemux/demux_asf.c
==============================================================================
--- trunk/libmpdemux/demux_asf.c Thu Feb 18 00:40:48 2010 (r30628)
+++ trunk/libmpdemux/demux_asf.c Thu Feb 18 00:45:01 2010 (r30629)
@@ -30,16 +30,12 @@
#include "stream/stream.h"
#include "asf.h"
+#include "asfheader.h"
#include "demuxer.h"
#include "libmpcodecs/dec_audio.h"
#include "libvo/fastmemcpy.h"
#include "libavutil/intreadwrite.h"
-// defined at asfheader.c:
-
-int asf_check_header(demuxer_t *demuxer);
-int read_asf_header(demuxer_t *demuxer,struct asf_priv* asf);
-
// based on asf file-format doc by Eugene [http://divx.euro.ru]
/**
More information about the MPlayer-cvslog
mailing list