Skip to content

Commit 26ea7f7

Browse files
committed
update readme - I was referring to the old C style syntax
1 parent 325da2a commit 26ea7f7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ let streams = std::slice::from_raw_parts((*ifmt_ctx).streams, nb_streams)
4141
.map(|x| (*x).as_ref().expect("not null"))
4242
.collect::<Vec<&AVStream>>();
4343

44-
// Nice not using the old `for (initialization; condition test; increment or decrement)` syntax 😌.
4544
for (index, stream_ptr) in streams.iter().enumerate() {
4645
let codecpar = *stream_ptr.codecpar;
4746
if codecpar.codec_type == AVMEDIA_TYPE_AUDIO {

0 commit comments

Comments
 (0)