summaryrefslogtreecommitdiffstats
path: root/demux/codec_tags.c
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2024-01-31 13:24:20 -0600
committerDudemanguy <random342@airmail.cc>2024-02-01 22:12:22 +0000
commit289b3a432e010a155efbe255575abf16db3d1b71 (patch)
treeedf28d480a2284da6c02b8dfe873f6bbb225fbd4 /demux/codec_tags.c
parentadcc6794b5d984f41ec429ef33e702fecde9b4f7 (diff)
downloadmpv-289b3a432e010a155efbe255575abf16db3d1b71.tar.bz2
mpv-289b3a432e010a155efbe255575abf16db3d1b71.tar.xz
Revert "demux_mkv: check if the video codec is an image"
This reverts commit 4709a94aec5b16534b1d6b0d6738caeaf692e9c9.
Diffstat (limited to 'demux/codec_tags.c')
-rw-r--r--demux/codec_tags.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/demux/codec_tags.c b/demux/codec_tags.c
index 923660de92..c4f07b5393 100644
--- a/demux/codec_tags.c
+++ b/demux/codec_tags.c
@@ -234,17 +234,6 @@ static const char *const type_to_codec[][2] = {
{0}
};
-bool mp_codec_is_image(const char *codec)
-{
- if (codec) {
- for (int n = 0; type_to_codec[n][0]; n++) {
- if (strcasecmp(type_to_codec[n][1], codec) == 0)
- return true;
- }
- }
- return false;
-}
-
const char *mp_map_type_to_image_codec(const char *type)
{
if (type) {