mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 15:15:56 -05:00
remove redundant panic
This commit is contained in:
parent
b9ebb74a58
commit
16ed7f73ba
@ -469,12 +469,6 @@ impl Ffmpeg {
|
||||
if !compatible {
|
||||
panic!("Incompatible ffmpeg versions:{}", msg);
|
||||
}
|
||||
for l in libs {
|
||||
if !l.is_compatible() {
|
||||
panic!("Library {}'s running version {} isn't ABI-compatible with \
|
||||
compiled version {}!", l.name, l.running, l.compiled);
|
||||
}
|
||||
}
|
||||
moonfire_ffmpeg_init();
|
||||
av_register_all();
|
||||
if avformat_network_init() < 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user