Changeset 271

Show
Ignore:
Timestamp:
01/07/07 23:35:17 (2 years ago)
Author:
dconrad
Message:

Support for AVSEEK_SIZE. Also, it seems it's best to return -1 if we don't support the seek mode. Fixes duration calcualtion for FLVs, which in turn fixes displaying the import progress.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ff_dataref.c

    r221 r271  
    162162                        p->pos = p->size + pos; 
    163163                        break; 
     164                case AVSEEK_SIZE: 
     165                        return p->size; 
    164166                default: 
    165                         break
     167                        return -1
    166168        } 
    167169