mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
avfiltergraph: put variables used in #if 0 code themselfs under #if 0
Fixes unused variable warnings Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
70d5cd103a
commit
bd16f0a331
@ -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++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user