fmt: cargo fmt --all

This commit is contained in:
Siavash Sameni
2026-05-12 15:40:02 +04:00
parent dbbab0decf
commit fdfaed5390
9 changed files with 49 additions and 30 deletions

View File

@@ -593,7 +593,9 @@ impl VideoDecoder for MediaCodecHevcDecoder {
format.set_buffer("csd-2", &pps);
let codec = MediaCodec::from_decoder_type("video/hevc").ok_or_else(|| {
VideoError::PlatformError("AMediaCodec_createDecoderByType (HEVC) failed".into())
VideoError::PlatformError(
"AMediaCodec_createDecoderByType (HEVC) failed".into(),
)
})?;
codec