From 0fed2ef8a0affddec329d87b4b4484ee6f741429 Mon Sep 17 00:00:00 2001 From: dyknon Date: Fri, 16 Jan 2026 03:38:25 +0900 Subject: What is binary/octet-stream? --- ytdlsb-main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ytdlsb-main.c b/ytdlsb-main.c index 391748a..8db1ad0 100644 --- a/ytdlsb-main.c +++ b/ytdlsb-main.c @@ -183,8 +183,9 @@ int ytdlsb_process_preload(struct ytdlsb_task *t){ f->state = YTDLSB_SB_FAILED; if(!mtype || strcmp(mtype, "application/octet-stream") == 0 + || strcmp(mtype, "binary/octet-stream") == 0 ){ - // twitch returns jpeg images in octet-stream + // twitch returns jpeg images in binary/octet-stream if(f->data && f->data_len >= 12){ if(memcmp(f->data, "\xff\xd8", 2) == 0){ f->state = YTDLSB_SB_JPEG; -- cgit v1.2.3