Skip to content

Commit

Permalink
ALSA: remove non-forward compatible assertion (fixes #8692)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed May 24, 2013
1 parent af3f875 commit faa0f77
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/access/alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,6 @@ static int Open (vlc_object_t *obj)
demux_t *demux = (demux_t *)obj;
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))
return VLC_ENOMEM;

Expand Down

0 comments on commit faa0f77

Please sign in to comment.