Skip to content

Commit b1605cc

Browse files
committed
fix typos
1 parent e8d9c28 commit b1605cc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ Enable `link_vcpkg_ffmpeg` feature if you want to link ffmpeg libraries installe
486486
#[cfg(feature = "link_system_ffmpeg")]
487487
if !success {
488488
if let Err(e) =
489-
linking_with_pkg_config_and_bindgen(env_vars, output_binding_path)
489+
linking_with_pkg_config_and_bindgen(&env_vars, output_binding_path)
490490
{
491491
error.push('\n');
492492
error.push_str(&format!("Link system FFmpeg failed: {:?}", e));
@@ -498,7 +498,7 @@ Enable `link_vcpkg_ffmpeg` feature if you want to link ffmpeg libraries installe
498498
#[cfg(feature = "link_vcpkg_ffmpeg")]
499499
if !success {
500500
if let Err(e) =
501-
vcpkg_linking::linking_with_vcpkg_and_bindgen(env_vars, output_binding_path)
501+
vcpkg_linking::linking_with_vcpkg_and_bindgen(&env_vars, output_binding_path)
502502
{
503503
error.push('\n');
504504
error.push_str(&format!("Link vcpkg FFmpeg failed: {:?}", e));
@@ -528,7 +528,7 @@ Enable `link_vcpkg_ffmpeg` feature if you want to link ffmpeg libraries installe
528528
}
529529
} else {
530530
#[cfg(feature = "link_vcpkg_ffmpeg")]
531-
vcpkg_linking::linking_with_vcpkg_and_bindgen(&zenv_vars, output_binding_path)
531+
vcpkg_linking::linking_with_vcpkg_and_bindgen(&env_vars, output_binding_path)
532532
.expect("Linking FFmpeg with vcpkg failed.");
533533
#[cfg(not(feature = "link_vcpkg_ffmpeg"))]
534534
panic!(

0 commit comments

Comments
 (0)