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

ALSA: remove non-forward compatible assertion (fixes #8692)

parent af3f8759
...@@ -326,9 +326,6 @@ static int Open (vlc_object_t *obj) ...@@ -326,9 +326,6 @@ static int Open (vlc_object_t *obj)
demux_t *demux = (demux_t *)obj; demux_t *demux = (demux_t *)obj;
demux_sys_t *sys = malloc (sizeof (*sys)); demux_sys_t *sys = malloc (sizeof (*sys));
static_assert (sizeof (formats) / sizeof (formats[0]) ==
SND_PCM_FORMAT_LAST + 1, "unknown formats");
if (unlikely(sys == NULL)) if (unlikely(sys == NULL))
return VLC_ENOMEM; return VLC_ENOMEM;
......
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