Browse Source

avfiltergraph: put variables used in #if 0 code themselfs under #if 0

Fixes unused variable warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 12 years ago
parent
commit
bd16f0a331
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavfilter/avfiltergraph.c

+ 2
- 0
libavfilter/avfiltergraph.c View File

@@ -271,10 +271,12 @@ static int insert_conv_filter(AVFilterGraph *graph, AVFilterLink *link,
static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
{
int i, j, ret;
#if 0
char filt_args[128];
AVFilterFormats *formats;
AVFilterChannelLayouts *chlayouts;
AVFilterFormats *samplerates;
#endif
int scaler_count = 0, resampler_count = 0;

for (j = 0; j < 2; j++) {


Loading…
Cancel
Save