]> git.sesse.net Git - vlc/commit
Don't leak memory when filling in p_stream->p_decoder_specific_info for subtitles...
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 2 Mar 2008 14:26:45 +0000 (15:26 +0100)
committerJean-Paul Saman <jpsaman@videolan.org>
Sun, 2 Mar 2008 17:19:59 +0000 (18:19 +0100)
commit225300b59e7da3607721d9538775996097a30872
tree662893baed76ec06a16672af15bcaf97cf47d411
parentc13df5d1fcfd6381665f532b9f778ae17f55421a
Don't leak memory when filling in p_stream->p_decoder_specific_info for subtitles. The p_stream->p_decoder_specific_info pointer was already allocated just before checking for VLC_FOURCC('s','u','b','t'). The fix moves the non-subtitles case to an else.

Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
modules/mux/mpeg/ts.c