We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d88b1f commit 325da2aCopy full SHA for 325da2a
README.md
@@ -41,7 +41,7 @@ let streams = std::slice::from_raw_parts((*ifmt_ctx).streams, nb_streams)
41
.map(|x| (*x).as_ref().expect("not null"))
42
.collect::<Vec<&AVStream>>();
43
44
-// C bindings require zero for loops 😌.
+// Nice not using the old `for (initialization; condition test; increment or decrement)` syntax 😌.
45
for (index, stream_ptr) in streams.iter().enumerate() {
46
let codecpar = *stream_ptr.codecpar;
47
if codecpar.codec_type == AVMEDIA_TYPE_AUDIO {
0 commit comments