add feature non-exhaustive-enums

This commit is contained in:
FreezyLemon
2022-10-22 17:28:37 +02:00
committed by Josh Holmer
parent 28c356dd98
commit 92a8c6a9d8
22 changed files with 25 additions and 1 deletions

View File

@ -121,6 +121,7 @@ impl From<AVFrameSideDataType> for Type {
#[cfg(feature = "ffmpeg_5_1")]
AV_FRAME_DATA_DYNAMIC_HDR_VIVID => Type::DYNAMIC_HDR_VIVID,
#[cfg(feature = "non-exhaustive-enums")]
_ => unimplemented!(),
}
}