comparison src/mpg123/mpg123.c @ 99:98de08786b0a trunk

[svn] - specifically blacklist the musepack mp2/mp3 variant
author nenolod
date Mon, 23 Oct 2006 12:25:24 -0700
parents 3da1b8942b8b
children 1e2d575fd2e7
comparison
equal deleted inserted replaced
98:4b5ee7e23bd1 99:98de08786b0a
289 if (!memcmp(tmp, "ID3", 3)) 289 if (!memcmp(tmp, "ID3", 3))
290 { 290 {
291 ret = TRUE; 291 ret = TRUE;
292 goto done; 292 goto done;
293 } 293 }
294
295 if (!memcmp(tmp, "MP+", 3))
296 {
297 ret = FALSE;
298 goto done;
299 }
300
294 head = convert_to_header(tmp); 301 head = convert_to_header(tmp);
295 while (!mpgdec_head_check(head)) { 302 while (!mpgdec_head_check(head)) {
296 /* 303 /*
297 * The mpeg-stream can start anywhere in the file, 304 * The mpeg-stream can start anywhere in the file,
298 * so we check the entire file 305 * so we check the entire file