mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-03-13 09:00:40 +08:00
aom_codec_control() takes control id as int. It could be AV1E_ or common AV1_ enum in encoder, and AV1D_ for decoder. While upstream provides AOM_CODEC_CONTROL_TYPECHECKED() macro to check the provided enum value, we wrap those calls in codecctl_ functions, which makes it not feasible to use. To avoid complicating this needlessly, just use int. Fixes: warning: implicit conversion from enumeration type 'enum aom_com_control_id' to different enumeration type 'enum aome_enc_control_id' Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
66 KiB
66 KiB