[vlc-commits] hls: Removing useless assignments.

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


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

hls: Removing useless assignments.

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

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

 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