History

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

Fixes unused variable warnings

Michael Niedermayer committed 13 years ago

Commit bd16f0a1 parent 70d5cd11 file · +2 −0Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all

Unified · Split

libavfilter/avfiltergraph.c+2−0
@@ -271,10 +271,12 @@ static int insert_conv_filter(AVFilterGraph *graph, AVFilterLink *link, · 270 unmodified lines
271271 static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
272272 {
273273 int i, j, ret;
274+#if 0
274275 char filt_args[128];
275276 AVFilterFormats *formats;
276277 AVFilterChannelLayouts *chlayouts;
277278 AVFilterFormats *samplerates;
279+#endif
278280 int scaler_count = 0, resampler_count = 0;
279281
280282 for (j = 0; j < 2; j++) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t