[MPlayer-cvslog] r36739 - trunk/libao2/ao_v4l2.c
reimar
subversion at mplayerhq.hu
Sat Jan 25 17:55:12 CET 2014
Author: reimar
Date: Sat Jan 25 17:55:12 2014
New Revision: 36739
Log:
ao_v4l2: fix broken sample rate check.
Modified:
trunk/libao2/ao_v4l2.c
Modified: trunk/libao2/ao_v4l2.c
==============================================================================
--- trunk/libao2/ao_v4l2.c Sat Jan 25 17:55:11 2014 (r36738)
+++ trunk/libao2/ao_v4l2.c Sat Jan 25 17:55:12 2014 (r36739)
@@ -81,7 +81,7 @@ init (int rate, int channels, int format
freq = rate;
/* check for supported audio rate */
- if (rate != 32000 || rate != 41000 || rate != 48000)
+ if (rate != 32000 && rate != 41000 && rate != 48000)
{
mp_msg (MSGT_AO, MSGL_ERR, MSGTR_AO_MPEGPES_UnsupSamplerate, rate);
rate = 48000;
More information about the MPlayer-cvslog
mailing list