vlc | branch: master | Thomas Guillem <[email protected]> | Fri Jan 18 17:35:22 2019 +0100| [4b7aea3a1ef91dafe92b5d27299542d98b6024ac] | committer: Thomas Guillem
sout: chromecast: fix memory corruption Don't write on the sub id that is not owned by this module. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4b7aea3a1ef91dafe92b5d27299542d98b6024ac --- modules/stream_out/chromecast/cast.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stream_out/chromecast/cast.cpp b/modules/stream_out/chromecast/cast.cpp index 99b0a51132..f015b82f42 100644 --- a/modules/stream_out/chromecast/cast.cpp +++ b/modules/stream_out/chromecast/cast.cpp @@ -1174,7 +1174,7 @@ static void Flush( sout_stream_t *p_stream, void *_id ) sout_stream_id_sys_t *next_id = p_sys->GetSubId( p_stream, id, false ); if ( next_id == NULL ) return; - next_id->flushed = true; + id->flushed = true; if( !p_sys->cc_flushing ) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
