Fix segmentation fault in ffprobe
authorGavin Kinsey <gkinsey@ad-holdings.co.uk>
Tue, 21 Jun 2011 12:13:37 +0000 (13:13 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sun, 3 Jul 2011 17:49:54 +0000 (19:49 +0200)
(cherry picked from commit c558122e4ee53dc4cb82f87749a9c28c38ca9401)

ffprobe.c

index 711a172..edda454 100644 (file)
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -393,6 +393,7 @@ int main(int argc, char **argv)
     int ret;
 
     av_register_all();
+    init_opts();
 #if CONFIG_AVDEVICE
     avdevice_register_all();
 #endif