diff --git a/modules/demux/mjpeg.c b/modules/demux/mjpeg.c
index d59d887382aa325f275deeaa9fd25c7f33b24a4c..d688a9b46a58ef56b8ad325e680156ea10fdce11 100644
--- a/modules/demux/mjpeg.c
+++ b/modules/demux/mjpeg.c
@@ -527,7 +527,6 @@ static int MimeDemux( demux_t *p_demux )
     if( !b_match )
     {
         msg_Err( p_demux, "discard non-JPEG part" );
-        vlc_stream_Read( p_demux->s, NULL, i );
         return 0;
     }