Don't leak memory when filling in p_stream->p_decoder_specific_info for...
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>
Showing
Please register or sign in to comment