aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorBenoit Fouet <benoit.fouet@free.fr>2008-08-07 06:56:37 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-08-07 06:56:37 +0000
commit0f680571fa763dd2cd1240594093feb8aaa263ee (patch)
treeb5f215a2917ff9009493fe7213f6ea6040e5c9eb /libavdevice
parentd09ea6baaf1a2ea29df60d70c34d5387266f58f4 (diff)
downloadffmpeg-0f680571fa763dd2cd1240594093feb8aaa263ee.tar.gz
Remove useless 'channels' assignment.
Originally committed as revision 14656 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/audio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavdevice/audio.c b/libavdevice/audio.c
index 172c5f1a38..e03ada789a 100644
--- a/libavdevice/audio.c
+++ b/libavdevice/audio.c
@@ -129,8 +129,6 @@ static int audio_open(AudioData *s, int is_output, const char *audio_device)
av_log(NULL, AV_LOG_ERROR, "SNDCTL_DSP_STEREO: %s\n", strerror(errno));
goto fail;
}
- if (tmp)
- s->channels = 2;
tmp = s->sample_rate;
err = ioctl(audio_fd, SNDCTL_DSP_SPEED, &tmp);