Changeset 108 for trunk/mediafolder/c/cddb
- Timestamp:
- Oct 4, 2023, 6:18:02 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mediafolder/c/cddb/cddbcls.cpp
r57 r108 453 453 char key[20]; 454 454 char trackName[100]; 455 intiTrack;455 ULONG iTrack; 456 456 457 457 do{ … … 472 472 sscanf(buffer,"%20[^0-9=]",key); 473 473 /* We put track names into a linked list in the cddb instance */ 474 if(!strcmp(strupr(key),"T TITLE")) {474 if(!strcmp(strupr(key),"TITLE")) { 475 475 iTrack=0; 476 476 /* We have a disc title */ 477 sscanf(buffer,"%20[^0-9]% d=%100[^\n\r]",key,iTrack,trackName);477 sscanf(buffer,"%20[^0-9]%lu=%100[^\n\r]",key,iTrack,trackName); 478 478 Cddb->newTrack(trackName,iTrack); /* New track entry in cddb instance */ 479 479 } … … 483 483 } 484 484 485 cddb_read(int s,cddb * Cddb)485 int cddb_read(int s,cddb * Cddb) 486 486 { 487 487 char buffer[512];
Note:
See TracChangeset
for help on using the changeset viewer.