From: Vitor Sessak Date: Sat, 24 May 2008 20:40:10 +0000 (+0000) Subject: Simplify X-Git-Tag: v0.5~4618 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=85cb8af7a3cf3698ef74a0dc1a715d82a6ec4b29;p=coroid%2Fffmpeg_saccubus.git 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 --- diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index d0c678966..278530ed2 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); } /**