X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mp3_afh.c;h=728b25b81f94aa177a1e74ae01fca07419f7fe90;hp=f279cd5752ad8be4798ff5c0fc3fecd9c212b67a;hb=853b9e2286fdcbb1d661a636f59ff0955a6c3648;hpb=fb3fd5b4ddaf52e19303126ea1bacacc5954d808 diff --git a/mp3_afh.c b/mp3_afh.c index f279cd57..728b25b8 100644 --- 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; }