Workaround a potential segfault when using VAAPI/DXVA2 (close #3606).
It seems that some avcodec decoders release frames even after being flushed.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment