[FFmpeg-cvslog] vf_detc: dont mix av_strdup & 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:04:54 2012 +0100| [baa5d6df77c2c2be0ce4c7f5970c805d8151f0e0] | committer: Michael Niedermayer

vf_detc: dont mix av_strdup & free

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

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

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

diff --git a/libavfilter/libmpcodecs/vf_detc.c b/libavfilter/libmpcodecs/vf_detc.c
index a02950a..751e2b8 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);



More information about the ffmpeg-cvslog mailing list