repositories
/
deb_ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Debian version 2.5.3~trusty1
[deb_ffmpeg.git]
/
ffmpeg
/
libavfilter
/
graphparser.c
diff --git
a/ffmpeg/libavfilter/graphparser.c
b/ffmpeg/libavfilter/graphparser.c
index 7e25282d0de874d9365667f993e14fbe3fad3c07..5180bd576da032a8e0fbb433e93b592d8c080265 100644
(file)
--- a/
ffmpeg/libavfilter/graphparser.c
+++ b/
ffmpeg/libavfilter/graphparser.c
@@
-241,8
+241,8
@@
static int link_filter_inouts(AVFilterContext *filt_ctx,
if (p->filter_ctx) {
ret = link_filter(p->filter_ctx, p->pad_idx, filt_ctx, pad, log_ctx);
if (p->filter_ctx) {
ret = link_filter(p->filter_ctx, p->pad_idx, filt_ctx, pad, log_ctx);
- av_free
(
p->name);
- av_free
(
p);
+ av_free
p(&
p->name);
+ av_free
p(&
p);
if (ret < 0)
return ret;
} else {
if (ret < 0)
return ret;
} else {
@@
-344,10
+344,10
@@
static int parse_outputs(const char **buf, AVFilterInOut **curr_inputs,
av_free(name);
return ret;
}
av_free(name);
return ret;
}
- av_free
(
match->name);
- av_free
(
name);
- av_free
(
match);
- av_free
(
input);
+ av_free
p(&
match->name);
+ av_free
p(&
name);
+ av_free
p(&
match);
+ av_free
p(&
input);
} else {
/* Not in the list, so add the first input as a open_output */
input->name = name;
} else {
/* Not in the list, so add the first input as a open_output */
input->name = name;