Changeset 2156e762339d33715d9d5026b2c720888976b522

Show
Ignore:
Timestamp:
07/07/08 10:29:35 (5 months ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1215419375 +0200
git-parent:

[2265c8f1cc3aa9d661b7662199f38e46faa9dad2]

git-author:
Przemyslaw Fiala <bl4@playker.info> 1215376764 +0200
Message:

Fix reading ASX playlist when its size is unknown

Signed-off-by: Antoine Cellerier <dionoea@videolan.org>

Files:

Legend:

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

    ra0e351f r2156e76  
    248248        { 
    249249            int i_read = stream_Read( p_demux->s, &p_sys->psz_data[i_pos], p_sys->i_data_len - i_pos ); 
    250             p_sys->psz_data[i_read] = '\0'; 
     250            p_sys->psz_data[i_pos + i_read] = '\0'; 
    251251 
    252252            if( i_read < p_sys->i_data_len - i_pos ) break; /* Done */