]> git.tuebingen.mpg.de Git - paraslash.git/commit
audio_format_name(): Add an assert().
authorAndre Noll <maan@systemlinux.org>
Sat, 15 Sep 2007 07:39:18 +0000 (09:39 +0200)
committerAndre Noll <maan@systemlinux.org>
Sat, 15 Sep 2007 07:39:18 +0000 (09:39 +0200)
commitae15406fdf6ac44dc7a15e62c2d0056abe7192ac
treee0012c852c39a1ffbe427d31e8222ef64f53f2a1
parent8fe757457fa56a6a1c9f17c466391d790ff58c58
audio_format_name(): Add an assert().

The paraslash code should never request the name of an audio format
with invalid id. Introduce the ARRAY_SIZE macro to get the proper
upper bound for the number of supported audio formats.
para.h
vss.c