Quoting Ting Fu (2022-08-04 11:31:01) > DNN OpenVINO backend would not report missing model file if it does not > exist. It would corrupt directly with out any error infomation. This commit
"corrupt"? The patch looks completely wrong. Testing for file existence explicitly is known to be a bad pattern that leads to all kinds of races, security issues, and other bugs. Just trying to open the file and returning an error if that fails is the right thing to do. -- Anton Khirnov _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".