[vlc-commits] hls: Removing useless assignments.

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


vlc/vlc-1.2 | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Jan 24 18:12:08 2012 +0100| [efd36363e0b70f8a7b4340a8f57d34142c4f0168] | committer: Jean-Baptiste Kempf

hls: Removing useless assignments.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit c51ff47e321aa99f5f77033d091ce6140dd46d7e)

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

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

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

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 1e63560..e2a8834 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -248,7 +248,6 @@ static void hls_Free(hls_stream_t *hls)
     vlc_UrlClean(&hls->url);
     free(hls->psz_current_key_path);
     free(hls);
-    hls = NULL;
 }
 
 static hls_stream_t *hls_Copy(hls_stream_t *src, const bool b_cp_segments)
@@ -378,7 +377,6 @@ static void segment_Free(segment_t *segment)
     if (segment->data)
         block_Release(segment->data);
     free(segment);
-    segment = NULL;
 }
 
 static segment_t *segment_GetSegment(hls_stream_t *hls, const int wanted)



More information about the vlc-commits mailing list