Ordered that the judgment is affirmed.
“The factual findings and credibility determinations of a hearing court are accorded great deference on appeal, and will not be disturbed unless clearly unsupported by the record” (People v Parker, 306 AD2d 543 [2003]). The record supports the hearing court’s finding that a trooper lawfully stopped the defendant’s vehicle after observing his erratic driving. After the trooper detected the odor of marijuana emanating from the defendant’s automobile, and the defendant admitted that he had been smoking marijuana and had additional marijuana in the automobile, the police had probable cause to search the defendant’s automobile, including the trunk (see United States v Ross, 456 US 798, 825 [1982]; People v Morgan, 10 AD3d 369, 370-371 [2004]). Additionally, the defendant abandoned the marijuana found outside the passenger side of his automobile as well as the cocaine found behind the seat in the patrol car in which he had been placed temporarily (see People v Ramirez-Portoreal, 88 NY2d 99, 110-111 [1996]; People v Mora, 259 AD2d 562, 563 [1999]).
The hearing court properly denied that branch of the defendant’s omnibus motion which was to suppress his statements to law enforcement officials. In light of the fact that the defendant’s initial admission to the trooper that he had been smoking marijuana and had more marijuana in the car was made before he was in custody, Miranda warnings (see Miranda v Arizona, 384 US 436 [1966]) were not required at that time.
The defendant’s remaining contentions, including those raised in his supplemental pro se brief, are either unpreserved for appellate review or without merit, or were forfeited by his plea of guilty. Crane, J.P., Santucci, Mastro and Dillon, JJ., concur.