[FFmpeg-cvslog] vf_divtc: dont mix av_strdup and free

Michael Niedermayer git at videolan.org
Fri Dec 28 17:10:44 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Dec 28 17:05:19 2012 +0100| [8afe168c784b3822ab36a673751ae3d992cedaf0] | committer: Michael Niedermayer

vf_divtc: dont mix av_strdup and free

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8afe168c784b3822ab36a673751ae3d992cedaf0
---

 libavfilter/libmpcodecs/vf_divtc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/libmpcodecs/vf_divtc.c b/libavfilter/libmpcodecs/vf_divtc.c
index ce996f0..0e023f3 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,



More information about the ffmpeg-cvslog mailing list