It’s equivalent, but the mental model is sorting best to worst. The other way is just weird. Anyway, rather not waste time on bike shedding.
Panicked here: https://github.com/zmwangx/rust-ffmpeg-sys/blob/aaccc155d1dc0d21751a80d676fcf5d82075cdc7/build.rs#L547 when trying to find libavutil with pkg-config. Presumably libavutil isn’t installed. You need to make sure libavutil as well as other libav* corresponding to the enabled features are installed.
Guess I should improve error reporting instead of just panicking.