summaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-05-24 20:40:10 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-05-24 20:40:10 +0000
commit85cb8af7a3cf3698ef74a0dc1a715d82a6ec4b29 (patch)
tree9cdc33828278648911b696b5fca14efa76640e61 /libavfilter
parent2b7defc7bb15dcce5715f56c6f29b01969150711 (diff)
downloadffmpeg-streaming-85cb8af7a3cf3698ef74a0dc1a715d82a6ec4b29.zip
ffmpeg-streaming-85cb8af7a3cf3698ef74a0dc1a715d82a6ec4b29.tar.gz
Simplify
Commited in SoC by Vitor Sessak on 2008-04-12 14:16:34 Originally committed as revision 13313 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/graphparser.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index d0c6789..278530e 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -156,13 +156,9 @@ static void parse_link_name(const char **buf, char **name)
if(*(*buf)++ != ']') {
av_log(&log_ctx, AV_LOG_ERROR,
"Mismatched '[' found in the following: \"%s\".\n", start);
- goto fail;
+ fail:
+ av_freep(name);
}
-
- return;
-
- fail:
- av_freep(name);
}
/**
OpenPOWER on IntegriCloud