[vlc-commits] ALSA: remove non-forward compatible assertion (fixes #8692)
Rémi Denis-Courmont
git at videolan.org
Fri May 24 21:10:47 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri May 24 22:10:19 2013 +0300| [faa0f77fbbcb53175a44142f6abe3c22e2358843] | committer: Rémi Denis-Courmont
ALSA: remove non-forward compatible assertion (fixes #8692)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=faa0f77fbbcb53175a44142f6abe3c22e2358843
---
modules/access/alsa.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/modules/access/alsa.c b/modules/access/alsa.c
index 40f3d03..d82ae18 100644
--- a/modules/access/alsa.c
+++ b/modules/access/alsa.c
@@ -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;
More information about the vlc-commits
mailing list