PSO4 has both loop_start and LOOP_START

git-svn-id: https://vgmstream.svn.sourceforge.net/svnroot/vgmstream@245 51a99a44-fe44-0410-b1ba-c3e57ba2b86b
This commit is contained in:
halleyscometsw 2008-06-15 10:36:51 +00:00
parent ff58d22b78
commit db2bdafe00

View File

@ -142,7 +142,10 @@ VGMSTREAM * init_vgmstream_ogg_vorbis(STREAMFILE *streamFile) {
/* search for a "loop_start" comment */ /* search for a "loop_start" comment */
for (i=0;i<comment->comments;i++) { for (i=0;i<comment->comments;i++) {
if (strstr(comment->user_comments[i],"loop_start=")== if (strstr(comment->user_comments[i],"loop_start=")==
comment->user_comments[i]) { comment->user_comments[i] ||
strstr(comment->user_comments[i],"LOOP_START=")==
comment->user_comments[i]
) {
loop_start=atol(strchr(comment->user_comments[i],'=')+1); loop_start=atol(strchr(comment->user_comments[i],'=')+1);
loop_flag=1; loop_flag=1;
break; break;