ffmpeg: do not give away our reference to the frame.