mirror of
https://github.com/v0l/route96.git
synced 2025-06-16 08:18:50 +00:00
fix: skip probe for non-media
This commit is contained in:
@ -24,7 +24,8 @@ impl FFProbe {
|
||||
ptr::null_mut(),
|
||||
ptr::null_mut());
|
||||
if ret < 0 {
|
||||
return Err(Error::msg("Failed to create input context"));
|
||||
// input might not be media
|
||||
return Ok(FileProcessorResult::Skip);
|
||||
}
|
||||
|
||||
let ret = avformat_find_stream_info(dec_fmt, ptr::null_mut());
|
||||
|
Reference in New Issue
Block a user