[FFmpeg-cvslog] avfiltergraph: put variables used in #if 0 code themselfs under #if 0
Michael Niedermayer
git at videolan.org
Mon Dec 24 22:51:52 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Dec 24 22:35:27 2012 +0100| [bd16f0a331eb351a84ed6e71c8329aaaee3d8fb2] | committer: Michael Niedermayer
avfiltergraph: put variables used in #if 0 code themselfs under #if 0
Fixes unused variable warnings
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bd16f0a331eb351a84ed6e71c8329aaaee3d8fb2
---
libavfilter/avfiltergraph.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 9164559..bd772a8 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -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++) {
More information about the ffmpeg-cvslog
mailing list