mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
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:
parent
efe068de91
commit
6839eacc5a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user