avcodec/flashsv: check diff_start/height