Commit 8d1bc662 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

fourcc: simplify

parent 165861e3
......@@ -63,9 +63,6 @@ static int cmp_entry(const void *a, const void *b)
static void process_list(const char *name, const staticentry_t *list, size_t n)
{
assert(n > 0);
n--; /* discard final nul entry */
struct entry *entries = malloc(sizeof (*entries) * n);
if (entries == NULL)
abort();
......
......@@ -1075,8 +1075,6 @@ static const staticentry_t p_list_video[] = {
B(VLC_CODEC_DFA, "Chronomaster DFA"),
B(VLC_CODEC_HNM4_VIDEO, "Cryo Interactive Entertainment HNM4"),
B(VLC_FOURCC(0,0,0,0), "")
};
static const staticentry_t p_list_audio[] = {
......@@ -1482,8 +1480,6 @@ static const staticentry_t p_list_audio[] = {
B(VLC_CODEC_ADPCM_EA_R1, "ADPCM Electronic Arts R1"),
B(VLC_CODEC_ADPCM_IMA_APC, "ADPCM APC"),
B(VLC_FOURCC(0,0,0,0), "")
};
static const staticentry_t p_list_spu[] = {
......@@ -1554,6 +1550,4 @@ static const staticentry_t p_list_spu[] = {
B(VLC_CODEC_TTML, "TTML subtitles"),
A("ttml"),
B(VLC_FOURCC(0,0,0,0), "")
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment