[FFmpeg-cvslog] r14656 - trunk/libavdevice/audio.c

benoit subversion
Thu Aug 7 08:56:38 CEST 2008


Author: benoit
Date: Thu Aug  7 08:56:37 2008
New Revision: 14656

Log:
Remove useless 'channels' assignment.


Modified:
   trunk/libavdevice/audio.c

Modified: trunk/libavdevice/audio.c
==============================================================================
--- trunk/libavdevice/audio.c	(original)
+++ trunk/libavdevice/audio.c	Thu Aug  7 08:56:37 2008
@@ -129,8 +129,6 @@ static int audio_open(AudioData *s, int 
         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);




More information about the ffmpeg-cvslog mailing list