mss3: use the AVFrame API properly.