mss2: use the AVFrame API properly.