[vlc-commits] packetize: hevc: Remove dead code

Hugo Beauzée-Luyssen git at videolan.org
Thu Apr 6 16:26:46 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Apr  6 15:37:03 2017 +0200| [a5869e2367d70f17b4a7c29cb4ddd3e934ad78c7] | committer: Hugo Beauzée-Luyssen

packetize: hevc: Remove dead code

CID #1403567

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

 modules/packetizer/hevc_nal.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/packetizer/hevc_nal.c b/modules/packetizer/hevc_nal.c
index a0cfe05..07f366f 100644
--- a/modules/packetizer/hevc_nal.c
+++ b/modules/packetizer/hevc_nal.c
@@ -1129,9 +1129,6 @@ static bool hevc_parse_slice_segment_header_rbsp( bs_t *p_bs,
         if( p_pps->dependent_slice_segments_enabled_flag )
             p_sl->dependent_slice_segment_flag = bs_read1( p_bs );
 
-        if( !p_sps )
-            return false;
-
         unsigned w, h;
         if( !hevc_get_picture_CtbsYsize( p_sps, &w, &h ) )
             return false;



More information about the vlc-commits mailing list