Mercurial > audlegacy
comparison Plugins/Input/aac/src/aac_utils.c @ 387:7f0e78f42032 trunk
[svn] Disable adplug if the includes are missing (or in a very lame place). Stop blowing holes in my ship.
author | chainsaw |
---|---|
date | Tue, 03 Jan 2006 14:25:32 -0800 |
parents | 4e1d41a93cb3 |
children |
comparison
equal
deleted
inserted
replaced
386:1f278b7d6f58 | 387:7f0e78f42032 |
---|---|
63 break; | 63 break; |
64 } | 64 } |
65 if(!g_strncasecmp(header, "ID3", 3)){ | 65 if(!g_strncasecmp(header, "ID3", 3)){ |
66 break; | 66 break; |
67 } | 67 } |
68 if(!((header[0]==0xFF)&&((header[1]& 0xF6)==0xF0))){ | |
69 printf("error : Bad 1st header, file may be corrupt !\n"); | |
70 break; | |
71 } | |
72 if(!frameCount){ | 68 if(!frameCount){ |
73 id=header[1]&0x08; | 69 id=header[1]&0x08; |
74 if(((*seekTable) = malloc(SEEK_TABLE_CHUNK * sizeof(unsigned long)))==0){ | 70 if(((*seekTable) = malloc(SEEK_TABLE_CHUNK * sizeof(unsigned long)))==0){ |
75 printf("malloc error\n"); | 71 printf("malloc error\n"); |
76 return; | 72 return; |