diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-08-19 05:17:02 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-08-19 21:37:16 +0300 |
commit | b2e213d88976f166b115fc6de6e3c4105d128576 (patch) | |
tree | f320ca30c5dfedf0a98fca1e3b55cd1566c8995a /libmpdemux/aviheader.h | |
parent | 6e8d420a419329d95ac35d520c7a26588f7a51cc (diff) | |
download | mpv-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/aviheader.h')
-rw-r--r-- | libmpdemux/aviheader.h | 4 |
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 */ |