Skip to content

Commit bc80b85

Browse files
committed
clarify
1 parent 26ea7f7 commit bc80b85

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ av_dump_format(
3232

3333
For the uninitiated, the std includes lots of convenient ffi related utilities. E.g. using `std::slice::from_raw_parts`:
3434
```rust
35+
use ffmpeg_dev::sys::{
36+
AVMediaType_AVMEDIA_TYPE_VIDEO as AVMEDIA_TYPE_VIDEO,
37+
AVMediaType_AVMEDIA_TYPE_AUDIO as AVMEDIA_TYPE_AUDIO,
38+
};
3539
let ifmt_ctx: AVFormatContext = *ifmt_ctx;
3640
let nb_streams = (*ifmt_ctx).nb_streams as usize;
3741

0 commit comments

Comments
 (0)