summaryrefslogtreecommitdiffstats
path: root/demux/codec_tags.h
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2024-02-05 10:34:12 +0100
committersfan5 <sfan5@live.de>2024-02-06 18:08:53 +0100
commitaddf4ad023dc55c10bd794baa86c16f7249e6cfb (patch)
tree5824817826099edd3cc839529505ea0a33b40523 /demux/codec_tags.h
parent343a5fd345a84572ea5693a805119067d5b0fbc8 (diff)
downloadmpv-addf4ad023dc55c10bd794baa86c16f7249e6cfb.tar.bz2
mpv-addf4ad023dc55c10bd794baa86c16f7249e6cfb.tar.xz
Revert "demux: put type2format into codec_tags with helper functions"
This reverts commit be0a979a0b17b49f8535ee2542cca7df4c35b04d. The list of images codecs is no longer used by demux_mkv.c because 26a51464b6 made it check the number of blocks instead to not misdetect animations in image codecs, so move it back to demux_mf.c since it is its only user, so it is easier to understand how it is used, keeping the jxl addition from e9d0a31dfe.
Diffstat (limited to 'demux/codec_tags.h')
-rw-r--r--demux/codec_tags.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/demux/codec_tags.h b/demux/codec_tags.h
index 694f4c64d4..147760b0fe 100644
--- a/demux/codec_tags.h
+++ b/demux/codec_tags.h
@@ -28,7 +28,6 @@ void mp_set_codec_from_tag(struct mp_codec_params *c);
void mp_set_pcm_codec(struct mp_codec_params *c, bool sign, bool is_float,
int bits, bool is_be);
-const char *mp_map_type_to_image_codec(const char *type);
const char *mp_map_mimetype_to_video_codec(const char *mimetype);
#endif