aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/av_opts.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2013-05-25 15:53:55 +0200
committerGravatar wm4 <wm4@nowhere>2013-05-26 16:44:18 +0200
commitc23bf5311fce3b59e9111e5de646ee57b48be27f (patch)
treeb467490430dfce982a00d7f92e83df9e4f8e6cd5 /core/av_opts.c
parent3546188a41aa8c231e563ac89af68edd2798323b (diff)
vf_lavfi: allow setting avopts
Diffstat (limited to 'core/av_opts.c')
-rw-r--r--core/av_opts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/av_opts.c b/core/av_opts.c
index bc2e392c5f..777a1eec5a 100644
--- a/core/av_opts.c
+++ b/core/av_opts.c
@@ -28,6 +28,10 @@
int parse_avopts(void *v, char *str){
char *start;
+
+ if (!str)
+ return 0;
+
start= str= strdup(str);
while(str && *str){