Mercurial > mplayer.hg
diff libmpcodecs/ae_lavc.c @ 21822:fc4ce8a91a2e
Include "internal" libavformat/riff.h also when dynamic libavformat is used
instead of duplicating typedefs and function prototypes in already three
different places.
author | reimar |
---|---|
date | Sat, 06 Jan 2007 17:28:11 +0000 |
parents | cd705f30bb31 |
children | 0e746e1646bc |
line wrap: on
line diff
--- a/libmpcodecs/ae_lavc.c Sat Jan 06 15:08:04 2007 +0000 +++ b/libmpcodecs/ae_lavc.c Sat Jan 06 17:28:11 2007 +0000 @@ -31,17 +31,10 @@ #if defined(USE_LIBAVFORMAT) || defined(USE_LIBAVFORMAT_SO) #ifdef USE_LIBAVFORMAT_SO #include <ffmpeg/avformat.h> -typedef struct CodecTag { - int id; - unsigned int tag; - unsigned int invalid_asf : 1; -} CodecTag; -unsigned int codec_get_wav_tag(int id); -unsigned int codec_get_tag(const CodecTag *tags, int id); #else #include "libavformat/avformat.h" +#endif #include "libavformat/riff.h" -#endif extern const CodecTag mp_wav_tags[]; #endif