[vlc-devel] [PATCH] Fix double free in stream deletion

Francois Cartegnie fcartegnie at gmail.com
Wed Mar 20 15:08:43 CET 2019


Le 20/03/2019 à 18:08, chishtiawais511 at gmail.com a écrit :
> From: Awais Chishti <chishtiawais511 at gmail.com>
> 
> Decoder cleaning is being done with module_unneed() once in transcode.c:697 and sometimes in the preceeding switch statement causing VLC to crash. Either avoid cleaning the decoder in DeleteSoutStreamID() or in the transcode_*() functions. The patch does the latter as suggested earlier.
> ---


AFAIR that's not possible as the decoder probing must
copy the resulting format while the decoder is not touching it.


-- 
Francois Cartegnie
VideoLAN - VLC Developer


More information about the vlc-devel mailing list