[vlc-commits] hls: Cosmetics: removing useless casts.

Hugo Beauzée-Luyssen git at videolan.org
Tue Jan 24 19:03:34 CET 2012


vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Jan 24 16:37:26 2012 +0100| [833b0c760d3da2a5a2fc4da2acf87740b294ce73] | committer: Jean-Baptiste Kempf

hls: Cosmetics: removing useless casts.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/stream_filter/httplive.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index c844c8a..4d6e550 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -293,7 +293,7 @@ static hls_stream_t *hls_Get(vlc_array_t *hls_stream, const int wanted)
 
 static inline hls_stream_t *hls_GetFirst(vlc_array_t *hls_stream)
 {
-    return (hls_stream_t*) hls_Get(hls_stream, 0);
+    return hls_Get(hls_stream, 0);
 }
 
 static hls_stream_t *hls_GetLast(vlc_array_t *hls_stream)
@@ -302,7 +302,7 @@ static hls_stream_t *hls_GetLast(vlc_array_t *hls_stream)
     if (count <= 0)
         return NULL;
     count--;
-    return (hls_stream_t *) hls_Get(hls_stream, count);
+    return hls_Get(hls_stream, count);
 }
 
 static hls_stream_t *hls_Find(vlc_array_t *hls_stream, hls_stream_t *hls_new)



More information about the vlc-commits mailing list