diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-02-17 11:19:29 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-02-19 02:18:29 +0100 |
commit | 2b97be5d570587f9c2ef17e6fad79f3636e5ae7e (patch) | |
tree | 6f9930da2db0e94edd6379ef049795aa1fcb63d9 /doc/examples | |
parent | b117c392376c32e7c67022c0bf7c2da61dee5bb1 (diff) | |
download | ffmpeg-2b97be5d570587f9c2ef17e6fad79f3636e5ae7e.tar.gz |
examples/filtering: fix unused variable and return value in open_input_file().
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/filtering.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/examples/filtering.c b/doc/examples/filtering.c index fa8cb89fe7..2ca6a05497 100644 --- a/doc/examples/filtering.c +++ b/doc/examples/filtering.c @@ -47,7 +47,7 @@ static int64_t last_pts = AV_NOPTS_VALUE; static int open_input_file(const char *filename) { - int ret, i; + int ret; AVCodec *dec; if ((ret = avformat_open_input(&fmt_ctx, filename, NULL, NULL)) < 0) { @@ -126,6 +126,7 @@ static int init_filters(const char *filters_descr) if ((ret = avfilter_graph_config(filter_graph, NULL)) < 0) return ret; + return 0; } static void display_picref(AVFilterBufferRef *picref, AVRational time_base) |