summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-08-19 05:17:02 +0300
committerUoti Urpala <uau@mplayer2.org>2011-08-19 21:37:16 +0300
commitb2e213d88976f166b115fc6de6e3c4105d128576 (patch)
treef320ca30c5dfedf0a98fca1e3b55cd1566c8995a /libmpdemux
parent6e8d420a419329d95ac35d520c7a26588f7a51cc (diff)
downloadmpv-b2e213d88976f166b115fc6de6e3c4105d128576.tar.bz2
mpv-b2e213d88976f166b115fc6de6e3c4105d128576.tar.xz
aviheader.h: avoid including demuxer.h
Remove unnecessary demuxer.h include from aviheader.h. Through stheader.h aviheader.h is included in a lot of files. Add missing mp_msg.h includes to av_sub.c and sd_ass.c (previously hidden by indirect inclusion through demuxer.h and stream.h).
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/aviheader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/aviheader.h b/libmpdemux/aviheader.h
index 6740c249ce..6c86378a4a 100644
--- a/libmpdemux/aviheader.h
+++ b/libmpdemux/aviheader.h
@@ -24,7 +24,6 @@
#include "config.h" /* get correct definition of HAVE_BIGENDIAN */
#include "libavutil/common.h"
#include "mpbswap.h"
-#include "demuxer.h"
#ifndef mmioFOURCC
#define mmioFOURCC( ch0, ch1, ch2, ch3 ) \
@@ -375,6 +374,7 @@ typedef struct {
#define AVI_IDX_OFFSET(x) ((((uint64_t)(x)->dwFlags&0xffff0000)<<16)+(x)->dwChunkOffset)
-void read_avi_header(demuxer_t *demuxer, int index_mode);
+struct demuxer;
+void read_avi_header(struct demuxer *demuxer, int index_mode);
#endif /* MPLAYER_AVIHEADER_H */