add wildcard branches for matches on enums

This commit is contained in:
FreezyLemon
2022-10-22 16:25:24 +02:00
committed by Josh Holmer
parent 022eaa28cf
commit 28c356dd98
21 changed files with 42 additions and 0 deletions

View File

@ -1233,6 +1233,8 @@ impl From<AVCodecID> for Id {
AV_CODEC_ID_PHM => Id::PHM,
#[cfg(feature = "ffmpeg_5_1")]
AV_CODEC_ID_DFPWM => Id::DFPWM,
_ => unimplemented!(),
}
}
}