summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libmad/xine_mad_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmad/xine_mad_decoder.c b/src/libmad/xine_mad_decoder.c
index c9067a676..6fb56dbd1 100644
--- a/src/libmad/xine_mad_decoder.c
+++ b/src/libmad/xine_mad_decoder.c
@@ -190,7 +190,7 @@ static void mad_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {
mad_stream_buffer (&this->stream, this->buffer,
this->bytes_in_buffer);
- if (this->bytes_in_buffer < MAD_MIN_SIZE)
+ if (this->bytes_in_buffer < MAD_MIN_SIZE && buf->pts == 0)
return;
if (!this->needs_more_data) {