[vlc-commits] demux: mp4: remove dead code (cid #1346937)
Francois Cartegnie
git at videolan.org
Thu Dec 31 22:51:55 CET 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Dec 31 18:50:46 2015 +0100| [2ef784f347599b0b5697432d8a39b787789d628d] | committer: Francois Cartegnie
demux: mp4: remove dead code (cid #1346937)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2ef784f347599b0b5697432d8a39b787789d628d
---
modules/demux/mp4/libmp4.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 83cbb2b..fe04b0e 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -250,9 +250,6 @@ static MP4_Box_t *MP4_ReadBoxRestricted( stream_t *p_stream, MP4_Box_t *p_father
MP4_Seek( p_stream, i_next );
}
- if( !p_box )
- return NULL;
-
MP4_BoxAddChild( p_father, p_box );
return p_box;
More information about the vlc-commits
mailing list