[FFmpeg-soc] [soc]: r2193 - libavfilter/graphparser.c
vitor
subversion at mplayerhq.hu
Sat May 24 15:05:30 CEST 2008
Author: vitor
Date: Sat May 24 15:05:30 2008
New Revision: 2193
Log:
Simplify
Modified:
libavfilter/graphparser.c
Modified: libavfilter/graphparser.c
==============================================================================
--- libavfilter/graphparser.c (original)
+++ libavfilter/graphparser.c Sat May 24 15:05:30 2008
@@ -162,15 +162,12 @@ static AVFilterContext *create_filter(AV
static AVFilterContext *parse_filter(const char **buf, AVFilterGraph *graph,
int index, AVClass *log_ctx)
{
- char *opts;
+ char *opts = NULL;
char *name = consume_string(buf);
- if(**buf == '=') {
+ if(**buf == '=')
(*buf)++;
opts = consume_string(buf);
- } else {
- opts = NULL;
- }
return create_filter(graph, index, name, opts, log_ctx);
}
More information about the FFmpeg-soc
mailing list