Fix segmentation fault in ffprobe
authorGavin Kinsey <gkinsey@ad-holdings.co.uk>
Tue, 21 Jun 2011 12:13:37 +0000 (13:13 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 21 Jun 2011 12:37:28 +0000 (14:37 +0200)
ffprobe.c

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