external_files: alphabetize file extensions

Looks nicer.
This commit is contained in:
Dudemanguy 2023-08-10 13:48:03 -05:00
parent f118faed42
commit 5ffa3681ff
1 changed files with 8 additions and 8 deletions

View File

@ -32,18 +32,18 @@
#include "options/path.h"
#include "external_files.h"
static const char *const sub_exts[] = {"utf", "utf8", "utf-8", "idx", "sub",
"srt", "rt", "ssa", "ass", "mks", "vtt",
"sup", "scc", "smi", "lrc", "pgs",
static const char *const sub_exts[] = {"ass", "idx", "lrc", "mks", "pgs", "rt",
"scc", "smi", "srt", "ssa", "sub", "sup",
"utf", "utf-8", "utf8", "vtt",
NULL};
static const char *const audio_exts[] = {"mp3", "aac", "mka", "dts", "flac",
"ogg", "m4a", "ac3", "opus", "wav",
"wv", "eac3", "thd",
static const char *const audio_exts[] = {"aac", "ac3", "dts", "eac3", "flac",
"m4a", "mka", "mp3", "ogg", "opus",
"thd", "wav", "wv",
NULL};
static const char *const image_exts[] = {"jpg", "jpeg", "png", "gif", "bmp",
"webp", "jxl", "tiff", "tif", "avif",
static const char *const image_exts[] = {"avif", "bmp", "gif", "jpeg", "jpg",
"jxl", "png", "tif", "tiff", "webp",
NULL};
// Stolen from: vlc/-/blob/master/modules/meta_engine/folder.c#L40