X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fmp3.c;fp=lib%2Fmp3.c;h=48f03d12a5d531e0f909e02e47f5a671e863dc65;hp=8db38517276b0b4520251cb5e8947a01ae81f3f6;hb=4826a0831b4d019e3ccb1fa1aea0f6138f80e49c;hpb=abfaccab0cee8c37baaae2b1bd3bd228d97605ae diff --git a/lib/mp3.c b/lib/mp3.c index 8db3851..48f03d1 100644 --- a/lib/mp3.c +++ b/lib/mp3.c @@ -47,7 +47,7 @@ static const unsigned SR_mpeg25[4] = {11025,12000,8000,0}; static const unsigned SR_reserved[4] = {0,0,0,0}; static const unsigned*const SR[4] = {SR_mpeg25, SR_reserved, SR_mpeg2, SR_mpeg1}; -int mp3_read(struct MP3*mp3, char* filename) +int mp3_read(struct MP3*mp3, const char* filename) { struct MP3Frame* root = 0; struct MP3Frame** cur = &root;