[MPlayer-cvslog] r20754 - trunk/stream/stream_radio.c
voroshil
subversion at mplayerhq.hu
Tue Nov 7 19:39:38 CET 2006
Author: voroshil
Date: Tue Nov 7 19:39:38 2006
New Revision: 20754
Modified:
trunk/stream/stream_radio.c
Log:
Replace enneccesery O_RDWR with O_RDONLY
Modified: trunk/stream/stream_radio.c
==============================================================================
--- trunk/stream/stream_radio.c (original)
+++ trunk/stream/stream_radio.c Tue Nov 7 19:39:38 2006
@@ -1011,7 +1011,7 @@
stream->close=close_s;
stream->fill_buffer=fill_buffer_s;
- priv->radio_fd = open(radio_param_device, O_RDWR);
+ priv->radio_fd = open(radio_param_device, O_RDONLY);
if (priv->radio_fd < 0) {
mp_msg(MSGT_RADIO, MSGL_ERR, MSGTR_RADIO_UnableOpenDevice,
radio_param_device, strerror(errno));
More information about the MPlayer-cvslog
mailing list