[vlc-commits] DASH: use vlc_strerror_c()

Rémi Denis-Courmont git at videolan.org
Sun Dec 29 15:16:33 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Dec 29 15:59:04 2013 +0200| [b793c74745901d4cc47d32e8fb867588ba65e584] | committer: Rémi Denis-Courmont

DASH: use vlc_strerror_c()

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

 modules/stream_filter/dash/dash.cpp |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/stream_filter/dash/dash.cpp b/modules/stream_filter/dash/dash.cpp
index f7fc264..3800cf3 100644
--- a/modules/stream_filter/dash/dash.cpp
+++ b/modules/stream_filter/dash/dash.cpp
@@ -217,7 +217,8 @@ static int  Read            (stream_t *p_stream, void *p_ptr, unsigned int i_len
             case EAGAIN:
                 break;
             default:
-                msg_Dbg(p_stream, "DASH Read: failed to read (%m)");
+                msg_Dbg(p_stream, "DASH Read: failed to read (%s)",
+                        vlc_strerror_c(errno));
                 return 0;
         }
         return 0;



More information about the vlc-commits mailing list