Commit 2b32f8ca authored by benoit's avatar benoit

Remove useless 'channels' assignment.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14656 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent c29387de
...@@ -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