diff options
| -rw-r--r-- | ytdlsb-main.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |
