aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-28 17:05:19 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-28 17:05:19 +0100
commit8afe168c784b3822ab36a673751ae3d992cedaf0 (patch)
treedfa6985f7457dd1f9d4a63616274323071312af3 /libavfilter
parentbaa5d6df77c2c2be0ce4c7f5970c805d8151f0e0 (diff)
downloadffmpeg-8afe168c784b3822ab36a673751ae3d992cedaf0.tar.gz
vf_divtc: dont mix av_strdup and free
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/libmpcodecs/vf_divtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/libmpcodecs/vf_divtc.c b/libavfilter/libmpcodecs/vf_divtc.c
index ce996f017a..0e023f3fcf 100644
--- a/libavfilter/libmpcodecs/vf_divtc.c
+++ b/libavfilter/libmpcodecs/vf_divtc.c
@@ -601,7 +601,7 @@ static int vf_open(vf_instance_t *vf, char *args)
const char *filename="framediff.log";
char *ap, *q, *a;
- if(args && !(args=av_strdup(args)))
+ if(args && !(args=strdup(args)))
{
nomem:
ff_mp_msg(MSGT_VFILTER, MSGL_FATAL,