Commit 2b97be5d authored by Clément Bœsch's avatar Clément Bœsch

examples/filtering: fix unused variable and return value in open_input_file().

parent b117c392
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment