fraps: use the AVFrame API properly.