aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-28 17:04:54 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-28 17:04:54 +0100
commitbaa5d6df77c2c2be0ce4c7f5970c805d8151f0e0 (patch)
tree1ed997f77a4515177dc3467fcaf83c54ea1b9f8f
parent458afd2a0e8af0c125c94b343fbd691f85b34207 (diff)
downloadffmpeg-baa5d6df77c2c2be0ce4c7f5970c805d8151f0e0.tar.gz
vf_detc: dont mix av_strdup & free
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/libmpcodecs/vf_detc.c2
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);