If we don't have a NEWAVIINDEX chunk, but have an OpenDML index,

use it even if there is no AVIX RIFF-Chunk.
(See also <40D2E910.2000708@comcast.net> "Non-seeking OpenDML AVI")


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12729 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ranma 2004-06-29 13:10:37 +00:00
parent efe068de91
commit 6839eacc5a
1 changed files with 7 additions and 0 deletions

View File

@ -443,6 +443,13 @@ while(1){
}
if (priv->suidx_size > 0 && priv->idx_size == 0) {
/*
* No NEWAVIINDEX, but we got an OpenDML index.
*/
priv->isodml = 1;
}
if (priv->isodml && (index_mode==-1 || index_mode==0)) {
int i, j, k;
int safety=1000;