Commit bd16f0a3 authored by Michael Niedermayer's avatar Michael Niedermayer

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

Fixes unused variable warnings
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 70d5cd10
...@@ -271,10 +271,12 @@ static int insert_conv_filter(AVFilterGraph *graph, AVFilterLink *link, ...@@ -271,10 +271,12 @@ static int insert_conv_filter(AVFilterGraph *graph, AVFilterLink *link,
static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
{ {
int i, j, ret; int i, j, ret;
#if 0
char filt_args[128]; char filt_args[128];
AVFilterFormats *formats; AVFilterFormats *formats;
AVFilterChannelLayouts *chlayouts; AVFilterChannelLayouts *chlayouts;
AVFilterFormats *samplerates; AVFilterFormats *samplerates;
#endif
int scaler_count = 0, resampler_count = 0; int scaler_count = 0, resampler_count = 0;
for (j = 0; j < 2; j++) { for (j = 0; j < 2; j++) {
......
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