# HG changeset patch # User reimar # Date 1392681451 0 # Node ID 5df05eaefb6709f3f10d737a04a0d23054233f48 # Parent 06344efeded39759a9d60f3ac069ddeeb5d975aa mp_taglists: Avoid libavformat/internal.h include. diff -r 06344efeded3 -r 5df05eaefb67 libmpdemux/mp_taglists.c --- a/libmpdemux/mp_taglists.c Mon Feb 17 23:25:32 2014 +0000 +++ b/libmpdemux/mp_taglists.c Mon Feb 17 23:57:31 2014 +0000 @@ -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') },