remove redundant panic

This commit is contained in:
Scott Lamb 2017-11-16 22:54:44 -08:00
parent b9ebb74a58
commit 16ed7f73ba

View File

@ -469,12 +469,6 @@ impl Ffmpeg {
if !compatible { if !compatible {
panic!("Incompatible ffmpeg versions:{}", msg); 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(); moonfire_ffmpeg_init();
av_register_all(); av_register_all();
if avformat_network_init() < 0 { if avformat_network_init() < 0 {