Mercurial > mplayer.hg
changeset 1039:881b949b6c68
avi streaming fixed
author | arpi_esp |
---|---|
date | Wed, 06 Jun 2001 01:39:39 +0000 |
parents | b36fb1ae4b53 |
children | 115ef47ef8c3 |
files | mplayer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Tue Jun 05 18:40:44 2001 +0000 +++ b/mplayer.c Wed Jun 06 01:39:39 2001 +0000 @@ -765,7 +765,7 @@ switch(file_format){ case DEMUXER_TYPE_AVI: { //---- AVI header: - read_avi_header(demuxer,f?index_mode:-2); + read_avi_header(demuxer,(stream->type!=STREAMTYPE_STREAM)?index_mode:-2); stream_reset(demuxer->stream); stream_seek(demuxer->stream,demuxer->movi_start); demuxer->idx_pos=0;