[vlc-commits] demux: mjpeg: invalid free
Francois Cartegnie
git at videolan.org
Thu May 3 10:46:55 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu May 3 10:45:10 2018 +0200| [a44095f323b87a9871f548fb520a964e01382823] | committer: Francois Cartegnie
demux: mjpeg: invalid free
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a44095f323b87a9871f548fb520a964e01382823
---
modules/demux/mjpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mjpeg.c b/modules/demux/mjpeg.c
index ee3d4e21a8..dfee7773e9 100644
--- a/modules/demux/mjpeg.c
+++ b/modules/demux/mjpeg.c
@@ -284,7 +284,7 @@ static int SendBlock( demux_t *p_demux, int i )
if( p_sys->p_es )
es_out_Send( p_demux->out, p_sys->p_es, p_block );
else
- block_Release( p_sys->p_es );
+ block_Release( p_block );
if( p_sys->b_still )
p_sys->i_still_end = mdate() + p_sys->i_frame_length;
More information about the vlc-commits
mailing list