Commit edd1cb88 authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Fixed potential NULL deference when flushing in avcodec encoder module.

parent 1df47ba6
......@@ -993,7 +993,7 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
p_sys->i_last_ref_pts = p_block->i_pts;
}
}
else
else if( p_pict )
{
/* Buggy libavcodec which doesn't update coded_frame->pts
* correctly */
......
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