Changeset e6a39a3308e03cf5699f35fe7a13d04ccb636689

Show
Ignore:
Timestamp:
01/14/07 23:27:48 (2 years ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1168813668 +0000
git-parent:

[567dbc60c1076ca103a479dc0cd742db34e0969d]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1168813668 +0000
Message:

Remove useless test i_chunk is uint32_t and cannot be lower then zero. This fixes a compile warninig and hopefully doesn't introduce an mp4 problem. Test your mp4's.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/demux/mp4/mp4.c

    r567dbc6 re6a39a3  
    16641664 
    16651665    /* now see if actual es is ok */ 
    1666     if( (p_track->i_chunk < 0) || 
    1667         (p_track->i_chunk >= p_track->i_chunk_count - 1) || 
     1666    if( (p_track->i_chunk >= p_track->i_chunk_count - 1) || 
    16681667        (p_track->chunk[p_track->i_chunk].i_sample_description_index != 
    16691668            p_track->chunk[i_chunk].i_sample_description_index) )