decoder/ffmpeg: suppress warning about unused variable
Only relevant for old ffmpeg versions.
This commit is contained in:
parent
2c4b998170
commit
3477acee48
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue