git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eed478c
)
mp4: dead code
author
Rémi Denis-Courmont
<remi@remlab.net>
Thu, 24 Apr 2014 18:17:01 +0000
(21:17 +0300)
committer
Rémi Denis-Courmont
<remi@remlab.net>
Thu, 24 Apr 2014 18:17:01 +0000
(21:17 +0300)
ret cannot be NULL.
modules/demux/mp4/mp4.c
patch
|
blob
|
history
diff --git
a/modules/demux/mp4/mp4.c
b/modules/demux/mp4/mp4.c
index
58df1ac
..
e289a2e
100644
(file)
--- a/
modules/demux/mp4/mp4.c
+++ b/
modules/demux/mp4/mp4.c
@@
-3529,8
+3529,6
@@
static mp4_track_t *MP4_frg_GetTrackByID( demux_t *p_demux, const uint32_t tid )
for( unsigned i = 0; i < p_sys->i_tracks; i++ )
{
ret = &p_sys->track[i];
- if( !ret )
- return NULL;
if( ret->i_track_ID == tid )
return ret;
}