Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

- Introduce conditional compilation flags to preserve functions that are
removed from ffmpeg 5.0 and onwards.
- Fix examples so they are using the ffmpeg-sanctionned way of doing
- Fix examples so they are using the ffmpeg-sanctioned way of doing
things. More specifically, AVStream.codec has been removed, and the
correct way of getting the codec from a stream is to use
Context::from_parameters(stream.parameters()) and then that context's
Expand Down
2 changes: 1 addition & 1 deletion src/codec/decoder/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use libc::c_int;
bitflags! {
pub struct Check: c_int {
const CRC = AV_EF_CRCCHECK;
const BISTREAM = AV_EF_BITSTREAM;
const BITSTREAM = AV_EF_BITSTREAM;
const BUFFER = AV_EF_BUFFER;
const EXPLODE = AV_EF_EXPLODE;

Expand Down
2 changes: 1 addition & 1 deletion src/format/chapter/chapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use {DictionaryRef, Rational};
use format::context::common::Context;

// WARNING: index refers to the offset in the chapters array (starting from 0)
// it is not necessarly equal to the id (which may start at 1)
// it is not necessarily equal to the id (which may start at 1)
pub struct Chapter<'a> {
context: &'a Context,
index: usize,
Expand Down
2 changes: 1 addition & 1 deletion src/format/chapter/chapter_mut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use format::context::common::Context;
use {Dictionary, DictionaryMut, Rational};

// WARNING: index refers to the offset in the chapters array (starting from 0)
// it is not necessarly equal to the id (which may start at 1)
// it is not necessarily equal to the id (which may start at 1)
pub struct ChapterMut<'a> {
context: &'a mut Context,
index: usize,
Expand Down