From 3477acee482804ffa9bdc8a74c72bb0facb668fa Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Apr 2013 22:12:49 +0200 Subject: decoder/ffmpeg: suppress warning about unused variable Only relevant for old ffmpeg versions. --- src/decoder/FfmpegDecoderPlugin.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/decoder/FfmpegDecoderPlugin.cxx b/src/decoder/FfmpegDecoderPlugin.cxx index 3f3e8a43a..fe657728a 100644 --- a/src/decoder/FfmpegDecoderPlugin.cxx +++ b/src/decoder/FfmpegDecoderPlugin.cxx @@ -308,6 +308,8 @@ ffmpeg_send_packet(struct decoder *decoder, struct input_stream *is, } else if (len >= 0) len = -1; #else + (void)frame; + int len = avcodec_decode_audio3(codec_context, aligned_buffer, &audio_size, &packet2); -- cgit v1.2.3