mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-01-27 02:28:22 +00:00
media: ffmpeg: Fix doctest failure.
Fixes the following failure: error[E0659]: `ffmpeg` is ambiguous --> crosvm/media/ffmpeg/src/lib.rs:11:5 | 11 | use ffmpeg as ffi; | ^^^^^^ ambiguous name | = note: ambiguous because of multiple potential import sources = note: `ffmpeg` could refer to a crate passed with `--extern` = help: use `::ffmpeg` to refer to this crate unambiguously note: `ffmpeg` could also refer to the module defined here --> crosvm/media/ffmpeg/src/lib.rs:10:1 | 10 | mod ffmpeg; | ^^^^^^^^^^^ = help: use `crate::ffmpeg` to refer to this module unambiguously BUG=None TEST=cargo test -p ffmpeg Change-Id: I6665bec21336c78cd773593cd0310e996a345e1d Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3924262 Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
This commit is contained in:
parent
27bdb64e4d
commit
5924952188
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ pub use avutil::*;
|
|||
mod error;
|
||||
pub use error::*;
|
||||
mod ffmpeg;
|
||||
use ffmpeg as ffi;
|
||||
use crate::ffmpeg as ffi;
|
||||
pub mod swscale;
|
||||
|
||||
pub use ffi::AVPixelFormat_AV_PIX_FMT_NV12;
|
||||
|
|
Loading…
Reference in a new issue