mirror of https://github.com/FFmpeg/FFmpeg.git
In case the BSF has not been drained before flushing/closing, the context's next_frame might be set; yet it is not freed in flush or close. The former only zeroes it (which automatically causes a leak in case it was set). So do this when closing and flushing. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>release/5.1
parent
a68a6322b7
commit
ebec607941
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue