Changeset 855

Show
Ignore:
Timestamp:
04/20/08 00:22:29 (5 months ago)
Author:
astrange
Message:

Use depth=24 for files with depth set to 12. Closes #193 although it's not really a complete solution.

Files:

Legend:

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

    r853 r855  
    165165        (*imgHdl)->depth = codec->bits_per_sample; 
    166166        (*imgHdl)->clutID = -1; // no color lookup table... 
     167         
     168        // 12 is invalid in mov 
     169        // XXX it might be better to set this based entirely on pix_fmt 
     170        if ((*imgHdl)->depth == 12) (*imgHdl)->depth = 24; 
    167171         
    168172        /* Create the strf image description extension (see AVI's BITMAPINFOHEADER) */