]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mp3_afh.c
web: Fix typo on documentation page.
[paraslash.git] / mp3_afh.c
index f279cd5752ad8be4798ff5c0fc3fecd9c212b67a..728b25b81f94aa177a1e74ae01fca07419f7fe90 100644 (file)
--- a/mp3_afh.c
+++ b/mp3_afh.c
@@ -675,7 +675,7 @@ static int mp3_get_file_info(char *map, size_t numbytes, int fd,
        ret = mp3_read_info((unsigned char *)map, numbytes, fd, afhi);
        if (ret < 0)
                return ret;
-       if (afhi->seconds_total < 2 || !afhi->chunks_total)
+       if (afhi->chunks_total == 0)
                return -E_MP3_INFO;
        return 1;
 }