Make it compile with ffmpeg-master

This commit is contained in:
AdrianEddy
2022-12-01 18:10:30 +01:00
parent 022eaa28cf
commit 792db4cc98
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1233,6 +1233,7 @@ impl From<AVCodecID> 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"),
}
}
}
+1
View File
@@ -742,6 +742,7 @@ impl From<AVPixelFormat> 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"),
}
}
}