You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
alsa: remove too unused variables.
This fixes the two following warnings: libavdevice/alsa-audio-dec.c:62:26: warning: unused variable ‘sw_params’ [-Wunused-variable] libavdevice/alsa-audio-dec.c:109:15: warning: unused variable ‘st’ [-Wunused-variable]
This commit is contained in:
@@ -59,7 +59,6 @@ static av_cold int audio_read_header(AVFormatContext *s1,
|
|||||||
AVStream *st;
|
AVStream *st;
|
||||||
int ret;
|
int ret;
|
||||||
enum CodecID codec_id;
|
enum CodecID codec_id;
|
||||||
snd_pcm_sw_params_t *sw_params;
|
|
||||||
double o;
|
double o;
|
||||||
|
|
||||||
#if FF_API_FORMAT_PARAMETERS
|
#if FF_API_FORMAT_PARAMETERS
|
||||||
@@ -106,7 +105,6 @@ fail:
|
|||||||
static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt)
|
static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt)
|
||||||
{
|
{
|
||||||
AlsaData *s = s1->priv_data;
|
AlsaData *s = s1->priv_data;
|
||||||
AVStream *st = s1->streams[0];
|
|
||||||
int res;
|
int res;
|
||||||
int64_t dts;
|
int64_t dts;
|
||||||
snd_pcm_sframes_t delay = 0;
|
snd_pcm_sframes_t delay = 0;
|
||||||
|
Reference in New Issue
Block a user