[FFmpeg-cvslog] examples/filtering: fix unused variable and return value in open_input_file ().
Clément Bœsch
git at videolan.org
Sun Feb 19 02:21:16 CET 2012
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Fri Feb 17 11:19:29 2012 +0100| [2b97be5d570587f9c2ef17e6fad79f3636e5ae7e] | committer: Clément Bœsch
examples/filtering: fix unused variable and return value in open_input_file().
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2b97be5d570587f9c2ef17e6fad79f3636e5ae7e
---
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 fa8cb89..2ca6a05 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)
More information about the ffmpeg-cvslog
mailing list