Browse Source

Remove useless 'channels' assignment.

Originally committed as revision 14656 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Benoit Fouet 17 years ago
parent
commit
0f680571fa
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavdevice/audio.c

+ 0
- 2
libavdevice/audio.c View File

@@ -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);


Loading…
Cancel
Save