diff options
author | Uoti Urpala <uau@mplayer2.org> | 2012-02-01 18:34:51 +0200 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2012-02-01 22:46:27 +0200 |
commit | cdb6d157ccb2d311afb72b7cbf128c3866e85ec6 (patch) | |
tree | 94dfc8f8a2fc895d796657ea74e995fb33687ca5 /libmpdemux/mp_taglists.h | |
parent | db8cdc73e38c3490389212d94ae9b92dfddd5975 (diff) | |
download | mpv-cdb6d157ccb2d311afb72b7cbf128c3866e85ec6.tar.bz2 mpv-cdb6d157ccb2d311afb72b7cbf128c3866e85ec6.tar.xz |
demux_lavf: use Libav RIFF tag lists directly
Change demux_lavf to use CodecID -> RIFF tag mappings that are now
available through the public Libav API. Previously it used a copy in
ffmpeg_files/taglists.c. That can now be deleted.
Diffstat (limited to 'libmpdemux/mp_taglists.h')
-rw-r--r-- | libmpdemux/mp_taglists.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/libmpdemux/mp_taglists.h b/libmpdemux/mp_taglists.h index 381b77a8db..d23a982a93 100644 --- a/libmpdemux/mp_taglists.h +++ b/libmpdemux/mp_taglists.h @@ -21,12 +21,8 @@ #include <libavcodec/avcodec.h> -#include "ffmpeg_files/taglists.h" - -extern const struct mp_AVCodecTag * const mp_wav_taglists[]; - -extern const struct mp_AVCodecTag * const mp_codecid_override_taglists[]; - -extern const struct mp_AVCodecTag * const mp_bmp_taglists[]; +unsigned int mp_taglist_override(enum CodecID id); +unsigned int mp_taglist_video(enum CodecID id); +unsigned int mp_taglist_audio(enum CodecID id); #endif /* MPLAYER_MP_TAGLISTS_H */ |