Changeset 176

Show
Ignore:
Timestamp:
10/28/06 22:09:05 (2 years ago)
Author:
gbooker
Message:

Use the strh to read the fourcc as well (likely will in every case now) since the dv streams inside of avis tend to create a "Type 1" avi. The "Type 1" avi doesn't have the fourcc in the strf

We will never be able to read a DV stream avi into a reference movie because all dv streams go through a parser, so reject this file and let QT's avi parser handle it.

Files:

Legend:

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

    r158 r176  
    273273                        url_fskip(pb, 16); 
    274274                        return get_be32(pb); 
     275                } else if (tag == 'strh'){ 
     276                        // 4-byte offset to the fourcc 
     277                        url_fskip(pb, 4); 
     278                        return get_be32(pb); 
    275279                } else 
    276280                        url_fskip(pb, size + (size & 1));