Commit 17759a96 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mp4: dead code

ret cannot be NULL.
parent eed478c2
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment