[vlc-commits] OSS: VLC 2.0 compilation

Rémi Denis-Courmont git at videolan.org
Sun Aug 17 17:14:34 CEST 2014


vlc/vlc-2.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 17 18:14:17 2014 +0300| [d800f744695a23b75f0ea534e8c8c7ab2f523d6d] | committer: Rémi Denis-Courmont

OSS: VLC 2.0 compilation

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=d800f744695a23b75f0ea534e8c8c7ab2f523d6d
---

 modules/audio_output/oss.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index 21e0b7c..451e9e1 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -222,8 +222,7 @@ static int Start (audio_output_t *aout, audio_sample_format_t *restrict fmt)
     int frag = (AOUT_MAX_ADVANCE_TIME / AOUT_MIN_PREPARE_TIME) << 16
              | (32 - clz32(bytes - 1));
     if (ioctl (fd, SNDCTL_DSP_SETFRAGMENT, &frag) < 0)
-        msg_Err (aout, "cannot set 0x%08x fragment: %s", frag,
-                 vlc_strerror_c(errno));
+        msg_Err (aout, "cannot set 0x%08x fragment: %m", frag);
 
     sys->fd = fd;
     VolumeSync (aout);



More information about the vlc-commits mailing list