From 792db4cc9890da0800bb09606e5bc703fbeb8f87 Mon Sep 17 00:00:00 2001 From: AdrianEddy Date: Thu, 1 Dec 2022 18:10:30 +0100 Subject: [PATCH] Make it compile with ffmpeg-master --- src/codec/id.rs | 1 + src/util/format/pixel.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/codec/id.rs b/src/codec/id.rs index 8999353..5df3dae 100644 --- a/src/codec/id.rs +++ b/src/codec/id.rs @@ -1233,6 +1233,7 @@ impl From for Id { AV_CODEC_ID_PHM => Id::PHM, #[cfg(feature = "ffmpeg_5_1")] AV_CODEC_ID_DFPWM => Id::DFPWM, + v => unimplemented!("{v:?} is not supported yet"), } } } diff --git a/src/util/format/pixel.rs b/src/util/format/pixel.rs index e582f74..7e62056 100644 --- a/src/util/format/pixel.rs +++ b/src/util/format/pixel.rs @@ -742,6 +742,7 @@ impl From for Pixel { AV_PIX_FMT_RPI4_8 => Pixel::RPI4_8, #[cfg(feature = "rpi")] AV_PIX_FMT_RPI4_10 => Pixel::RPI4_10, + v => unimplemented!("{v:?} is not supported yet"), } } }