[vlc-commits] mjpeg: do not skip at end
Rémi Denis-Courmont
git at videolan.org
Fri Jul 7 22:57:53 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jul 7 23:49:44 2017 +0300| [46eb8b99de726903d2e46cf6f9163e2c9ba223fa] | committer: Rémi Denis-Courmont
mjpeg: do not skip at end
There is really no point skipping data from the input if the next thing
is the end of the stream.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=46eb8b99de726903d2e46cf6f9163e2c9ba223fa
---
modules/demux/mjpeg.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/demux/mjpeg.c b/modules/demux/mjpeg.c
index d59d887382..d688a9b46a 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;
}
More information about the vlc-commits
mailing list