Commit 8dcf1227 authored by Laurent Aimar's avatar Laurent Aimar

Fixed potential NULL dereference when using video filter when transcoding.

It closes #4409.
parent 48f5c06e
......@@ -656,10 +656,14 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
/* Run filter chain */
if( id->p_f_chain )
p_pic = filter_chain_VideoFilter( id->p_f_chain, p_pic );
if( !p_pic )
continue;
/* Run user specified filter chain */
if( id->p_uf_chain )
p_pic = filter_chain_VideoFilter( id->p_uf_chain, p_pic );
if( !p_pic )
continue;
/*
* Encoding
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment