diff options
author | Guido Cella <guido@guidocella.xyz> | 2024-01-18 17:43:02 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-01-19 23:56:21 +0000 |
commit | 5f7ce41371b45e46efb7a8f2255a4b7332d152e9 (patch) | |
tree | f19d7b21de8490accd2e54bafff530f06297eefc /demux | |
parent | 146bef059a716937bc588bad03995427abcd2c05 (diff) | |
download | mpv-5f7ce41371b45e46efb7a8f2255a4b7332d152e9.tar.bz2 mpv-5f7ce41371b45e46efb7a8f2255a4b7332d152e9.tar.xz |
demux_lavf: detect ico as images
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux_lavf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index e759e29390..ec26beab54 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -671,6 +671,7 @@ static bool is_image(AVStream *st, bool attached_picture, const AVInputFormat *a bstr_endswith0(bstr0(avif->name), "_pipe") || strcmp(avif->name, "alias_pix") == 0 || strcmp(avif->name, "gif") == 0 || + strcmp(avif->name, "ico") == 0 || strcmp(avif->name, "image2pipe") == 0 || (st->codecpar->codec_id == AV_CODEC_ID_AV1 && st->nb_frames == 1) ); |