diff options
author | waker <wakeroid@gmail.com> | 2011-04-19 20:57:09 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-04-19 20:57:09 +0200 |
commit | 4f9d477da17b2f3f2b3b70ef0835fcddc8dd9fca (patch) | |
tree | 43a5ef82538fa48ca05d6f3fd8659edce9b3fe20 /plugins | |
parent | 238f1bdd77ab7cab9f072d93475fe0a23463444b (diff) |
fixed mp3 seek regression
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mpgmad/mpgmad.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/mpgmad/mpgmad.c b/plugins/mpgmad/mpgmad.c index e3f82efd..2313b48f 100644 --- a/plugins/mpgmad/mpgmad.c +++ b/plugins/mpgmad/mpgmad.c @@ -403,7 +403,7 @@ cmp3_scan_stream (buffer_t *buffer, int sample) { buffer->channels = nchannels; } buffer->bitspersample = 16; - trace ("frame %d mpeg v%d layer %d bitrate %d samplerate %d packetlength %d channels %d\n", nframe, ver, layer, bitrate, samplerate, packetlength, nchannels); +// trace ("frame %d mpeg v%d layer %d bitrate %d samplerate %d packetlength %d channels %d\n", nframe, ver, layer, bitrate, samplerate, packetlength, nchannels); } } lastframe_valid = 1; @@ -1082,9 +1082,6 @@ cmp3_decode_int16 (mpgmad_info_t *info) { if (info->buffer.readsize == 0) { return 0; } - else if (readsize == info->buffer.readsize) { - return 0; - } } } return 0; |