Browse Source

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

tags/n0.11
Clément Bœsch 14 years ago
parent
commit
2b97be5d57
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      doc/examples/filtering.c

+ 2
- 1
doc/examples/filtering.c View File

@@ -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)


Loading…
Cancel
Save