Logo Search packages:      
Sourcecode: blender version File versions

int IMB_isanim ( char *  name  ) 

Attention:
Defined in util.c

Definition at line 248 of file util.c.

References imb_get_anim_type(), and IMB_isanim().

Referenced by IMB_isanim().

                               {
      int type;
      
      if(U.uiflag & USER_FILTERFILEEXTS) {
            if (G.have_quicktime){
                  if(         BLI_testextensie(filename, ".avi")
                        ||    BLI_testextensie(filename, ".flc")
                        ||    BLI_testextensie(filename, ".mov")
                        ||    BLI_testextensie(filename, ".movie")
                        ||    BLI_testextensie(filename, ".mv")) {
                        type = imb_get_anim_type(filename);
                  } else {
                        return(FALSE);                
                  }
            } else { // no quicktime
                  if(         BLI_testextensie(filename, ".avi")
                        ||    BLI_testextensie(filename, ".mv")) {
                        type = imb_get_anim_type(filename);
                  }
                  else  {
                        return(FALSE);
                  }
            }
      } else { // no FILTERFILEEXTS
            type = imb_get_anim_type(filename);
      }
      
      return (type && type!=ANIM_SEQUENCE);
}


Generated by  Doxygen 1.6.0   Back to index