summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-08-08 15:27:41 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-08-08 18:36:55 +0200
commit3bf142c77337814458ed8e036796934032d9837f (patch)
treee9c0b272b7dd1f189beefb57d9955f8bf22599a4 /ffprobe.c
parentdbd7a84c814161926e5f298eae1f5ea17082f814 (diff)
downloadffmpeg-3bf142c77337814458ed8e036796934032d9837f.tar.gz
cmdutils: remove the current working directory from the DLL search path on win32
Reviewed-by: Matt Oliver <protogonoi@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffprobe.c b/ffprobe.c
index a49be6a3f8..657867d8ec 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -3241,6 +3241,8 @@ int main(int argc, char **argv)
char *w_name = NULL, *w_args = NULL;
int ret, i;
+ init_dynload();
+
av_log_set_flags(AV_LOG_SKIP_REPEATED);
register_exit(ffprobe_cleanup);