X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fmp3.c;h=48f03d12a5d531e0f909e02e47f5a671e863dc65;hp=8db38517276b0b4520251cb5e8947a01ae81f3f6;hb=bdad407fb79c2f7be9f3603694ebdeadc645b52d;hpb=e0e02ae326f0863e6d6a38029ef5515517aa73fc 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;