Changeset 798

Show
Ignore:
Timestamp:
02/06/08 01:08:04 (6 months ago)
Author:
astrange
Message:

Fix logic error

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/perian-1.1/FFusionCodec.c

    r797 r798  
    691691                // XXX: at the moment ffmpeg can't handle interlaced H.264 right 
    692692                // specifically PAFF + spatial prediction 
    693                 if (codecID == CODEC_ID_H264 && ffusionIsParsedVideoDecodable(glob->begin.parser)) 
     693                if (codecID == CODEC_ID_H264 && !ffusionIsParsedVideoDecodable(glob->begin.parser)) 
    694694                        err = featureUnsupported; 
    695695                 
  • branches/perian-1.1/bitstream_info.c

    r797 r798  
    830830                 
    831831                // don't try to decode interlaced or 4:2:2 H.264 
    832                 return (!h264parser->frame_mbs_only_flag) && (h264parser->chroma_format_idc <= 1); 
    833         } 
    834          
    835         return 0
    836 } 
     832                return (h264parser->frame_mbs_only_flag == 1) && (h264parser->chroma_format_idc <= 1); 
     833        } 
     834         
     835        return 1
     836}