aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/Input/mpeg/decoder_mad.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/Input/mpeg/decoder_mad.cpp b/src/plugins/Input/mpeg/decoder_mad.cpp
index 58f48f680..59b77c71d 100644
--- a/src/plugins/Input/mpeg/decoder_mad.cpp
+++ b/src/plugins/Input/mpeg/decoder_mad.cpp
@@ -391,6 +391,11 @@ qint64 DecoderMAD::read(unsigned char *data, qint64 size)
m_play_bytes -= l;
return l;
}
+ else
+ {
+ m_skip_bytes = 0;
+ break;
+ }
}
if(!decodeFrame())