diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-12-28 20:04:54 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-12-28 20:04:54 +0400 |
commit | baa5d6df77c2c2be0ce4c7f5970c805d8151f0e0 (patch) | |
tree | 1ed997f77a4515177dc3467fcaf83c54ea1b9f8f /libavfilter/libmpcodecs/vf_detc.c | |
parent | 458afd2a0e8af0c125c94b343fbd691f85b34207 (diff) |
vf_detc: dont mix av_strdup & free
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/libmpcodecs/vf_detc.c')
-rw-r--r-- | libavfilter/libmpcodecs/vf_detc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/libmpcodecs/vf_detc.c b/libavfilter/libmpcodecs/vf_detc.c index a02950a663..751e2b822b 100644 --- a/libavfilter/libmpcodecs/vf_detc.c +++ b/libavfilter/libmpcodecs/vf_detc.c @@ -412,7 +412,7 @@ static void parse_var(struct vf_priv_s *p, char *var) static void parse_args(struct vf_priv_s *p, char *args) { char *next, *orig; - for (args=orig=av_strdup(args); args; args=next) { + for (args=orig=strdup(args); args; args=next) { next = strchr(args, ':'); if (next) *next++ = 0; parse_var(p, args); |