Merge pull request #88 from JosephCatrambone/patch_87_deadlock_in_compatible_format_list

Avoid deadlock on non-match in guid_to_frameformat.  Fix for #87.
This commit is contained in:
l1npengtul
2022-12-31 15:56:10 +09:00
committed by GitHub
+4 -1
View File
@@ -639,7 +639,10 @@ pub mod wmf {
let frame_fmt = match guid_to_frameformat(fourcc) {
Some(fcc) => fcc,
None => continue,
None => {
index += 1;
continue;
},
};
for frame_rate in framerate_list {