Avoid deadlock on non-match in guid_to_frameformat. Fix for #87.

This commit is contained in:
Joseph Catrambone
2022-12-30 20:21:38 -08:00
committed by GitHub
parent 844f5f9562
commit c6ddc22d20
+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 {