vmdvideo: use the AVFrame API properly.