[MPlayer-cvslog] r36879 - trunk/libmpdemux/mp_taglists.c

reimar subversion at mplayerhq.hu
Tue Feb 18 00:57:31 CET 2014


Author: reimar
Date: Tue Feb 18 00:57:31 2014
New Revision: 36879

Log:
mp_taglists: Avoid libavformat/internal.h include.

Modified:
   trunk/libmpdemux/mp_taglists.c

Modified: trunk/libmpdemux/mp_taglists.c
==============================================================================
--- trunk/libmpdemux/mp_taglists.c	Tue Feb 18 00:25:32 2014	(r36878)
+++ trunk/libmpdemux/mp_taglists.c	Tue Feb 18 00:57:31 2014	(r36879)
@@ -23,8 +23,13 @@
 #include "mp_taglists.h"
 #include "libavutil/common.h"
 #include "libavformat/avformat.h"
-// for AVCodecTag
-#include "libavformat/internal.h"
+// this is really defined in libavformat/internal.h
+// but requiring that header is a bit messy when building against
+// a system copy of FFmpeg.
+struct AVCodecTag {
+    enum AVCodecID id;
+    unsigned int tag;
+};
 
 static const struct AVCodecTag mp_wav_tags[] = {
     { AV_CODEC_ID_ADPCM_4XM,         MKTAG('4', 'X', 'M', 'A') },


More information about the MPlayer-cvslog mailing list