mss4: use the AVFrame API properly.