comparison libmpdemux/aviheader.c @ 3498:ee97a542fec1

fixed sig8 while -idx on some files (actually this is a workaround) :(
author gabucino
date Fri, 14 Dec 2001 23:56:12 +0000
parents a5f378f982cc
children 40060e4770f3
comparison
equal deleted inserted replaced
3497:6c1e57bdbd96 3498:ee97a542fec1
221 switch(idxfix_divx){ 221 switch(idxfix_divx){
222 case 1: if(c&0x40000000) idx->dwFlags=0;break; // divx 3 222 case 1: if(c&0x40000000) idx->dwFlags=0;break; // divx 3
223 case 2: if(c==0x1B6) idx->dwFlags=0;break; // divx 4 223 case 2: if(c==0x1B6) idx->dwFlags=0;break; // divx 4
224 } 224 }
225 } 225 }
226 mp_msg(MSGT_HEADER,MSGL_STATUS,"Generating Index: %02d%%\r", (int)demuxer->filepos/((int)demuxer->movi_end/100)); 226 //mp_msg(MSGT_HEADER,MSGL_STATUS,"Generating Index: %02d%%\r", (int)demuxer->filepos/((int)demuxer->movi_end/100));
227 mp_msg(MSGT_HEADER,MSGL_STATUS,"Generating Index...\r");
227 fflush(stdout); 228 fflush(stdout);
228 mp_dbg(MSGT_HEADER,MSGL_DBG2,"%08X %08X %.4s %08X %X\n",(int)demuxer->filepos,id,(char *) &id,(int)c,(unsigned int) idx->dwFlags); 229 mp_dbg(MSGT_HEADER,MSGL_DBG2,"%08X %08X %.4s %08X %X\n",(int)demuxer->filepos,id,(char *) &id,(int)c,(unsigned int) idx->dwFlags);
229 #if 0 230 #if 0
230 { unsigned char tmp[64]; 231 { unsigned char tmp[64];
231 int i; 232 int i;