]> git.tue.mpg.de Git - paraslash.git/commitdiff
vss.c: Kill check for get_file_info == NULL
authorAndre Noll <maan@systemlinux.org>
Sun, 4 Mar 2007 20:54:36 +0000 (21:54 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 4 Mar 2007 20:54:36 +0000 (21:54 +0100)
This can never happen.

vss.c

diff --git a/vss.c b/vss.c
index 133ed19fa833f467137a94378180173defec4df1..1983b8e5212fca40c99dd5c2963faee5c4e9d5fc 100644 (file)
--- a/vss.c
+++ b/vss.c
@@ -220,7 +220,7 @@ static int get_audio_format(int omit)
        int i;
 
        FOR_EACH_AUDIO_FORMAT(i) {
-               if (i == omit || !afl[i].get_file_info)
+               if (i == omit)
                        continue;
                rewind(audio_file);
                if (get_file_info(i) > 0)