aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/FfmpegDecoderPlugin.cxx2
1 files changed, 2 insertions, 0 deletions
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);