Commit 3477acee authored by Max Kellermann's avatar Max Kellermann

decoder/ffmpeg: suppress warning about unused variable

Only relevant for old ffmpeg versions.
parent 2c4b9981
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment