flashsv: use the AVFrame API properly.