History

Don't ask...

Olav Sørensen committed 3 years ago

Commit b3e8a141 parent fdcc53f1 file · +3 −3Browse files

Unified · Split

src/smploaders/ft2_load_flac.c+3−3
@@ -289,7 +289,7 @@ static void metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__St · 288 unmodified lines
289289 }
290290 else if (length > 10 && !memcmp(tag, "LOOPSTART=", 10))
291291 {
292− loopLength = atoi(&tag[10]);
292+ loopStart = atoi(&tag[10]);
293293 }
294294 else if (length > 11 && !memcmp(tag, "LOOPLENGTH=", 11))
295295 {
@@ -298,8 +298,8 @@ static void metadata_callback(const FLAC__StreamDecoder *decoder, const FLAC__St · 2 unmodified lines
298298
299299 if (loopLength > 0)
300300 {
301− s->loopStart = loopLength;
302− s->loopLength = loopStart;
301+ s->loopStart = loopStart;
302+ s->loopLength = loopLength;
303303
304304 DISABLE_LOOP(s->flags);
305305 s->flags |= LOOP_FWD;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t