diff options
author | waker <wakeroid@gmail.com> | 2013-08-18 19:39:51 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2013-08-18 19:39:51 +0200 |
commit | f6be3c3e63b1736faf54aaf889850543465e5cea (patch) | |
tree | 2fe045c9ca3051db50897f5ade09f97de100bf7f /plugins/mpgmad | |
parent | d0d2bfd6cc34960712bba38cf409ddb5c4dc78c5 (diff) |
mp3: fixed streaming regression
Diffstat (limited to 'plugins/mpgmad')
-rw-r--r-- | plugins/mpgmad/mpgmad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c index 70087511..99754df2 100644 --- a/plugins/mpgmad/mpgmad.c +++ b/plugins/mpgmad/mpgmad.c @@ -584,7 +584,7 @@ cmp3_scan_stream (buffer_t *buffer, int sample) { // unable to determine duration buffer->duration = -1; buffer->totalsamples = -1; - if (sample == 0) { + if (sample == 0 && !have_info) { trace ("check validity of the next frame...\n"); deadbeef->fseek (buffer->file, framepos+packetlength, SEEK_SET); continue; |