aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-08-10 20:52:41 +0200
committerClément Bœsch <ubitux@gmail.com>2011-08-10 20:52:41 +0200
commitafd7e46bd485a335595ef66a6568c59581ed0d0a (patch)
treea6fc66d061e03251bc02c2ce4b7e662a732a5cf2 /libavdevice
parent03990448058e5aee3394a79259e215a554bbbaec (diff)
downloadffmpeg-afd7e46bd485a335595ef66a6568c59581ed0d0a.tar.gz
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]
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/alsa-audio-dec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavdevice/alsa-audio-dec.c b/libavdevice/alsa-audio-dec.c
index 94162d2d9f..5e2f2a8897 100644
--- a/libavdevice/alsa-audio-dec.c
+++ b/libavdevice/alsa-audio-dec.c
@@ -59,7 +59,6 @@ static av_cold int audio_read_header(AVFormatContext *s1,
AVStream *st;
int ret;
enum CodecID codec_id;
- snd_pcm_sw_params_t *sw_params;
double o;
#if FF_API_FORMAT_PARAMETERS
@@ -106,7 +105,6 @@ fail:
static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt)
{
AlsaData *s = s1->priv_data;
- AVStream *st = s1->streams[0];
int res;
int64_t dts;
snd_pcm_sframes_t delay = 0;