ffmpeg: fix memleak of bitstream filter context on failure
Increase the nb_bitstream_filters value as soon as the context is allocated, so if option parsing fails the last context is actually freed. Reviewed-by: NJosh de Kock <josh@itanimul.li> Signed-off-by: NJames Almer <jamrial@gmail.com>
Showing
想要评论请 注册 或 登录