Commit 0f680571 authored by Benoit Fouet's avatar Benoit Fouet

Remove useless 'channels' assignment.

Originally committed as revision 14656 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d09ea6ba
...@@ -129,8 +129,6 @@ static int audio_open(AudioData *s, int is_output, const char *audio_device) ...@@ -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)); av_log(NULL, AV_LOG_ERROR, "SNDCTL_DSP_STEREO: %s\n", strerror(errno));
goto fail; goto fail;
} }
if (tmp)
s->channels = 2;
tmp = s->sample_rate; tmp = s->sample_rate;
err = ioctl(audio_fd, SNDCTL_DSP_SPEED, &tmp); err = ioctl(audio_fd, SNDCTL_DSP_SPEED, &tmp);
......
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