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

@ -1234,6 +1234,7 @@ impl From<AVCodecID> for Id {
#[cfg(feature = "ffmpeg_5_1")]
AV_CODEC_ID_DFPWM => Id::DFPWM,
#[cfg(feature = "non-exhaustive-enums")]
_ => unimplemented!(),
}
}