mirror of
https://github.com/encounter/rust-ffmpeg-zmwangx.git
synced 2026-07-10 21:18:40 -07:00
Make it compile with ffmpeg-master
This commit is contained in:
@@ -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"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user