refresh frame fix, dblclk proxy viewer fix, vicon refresh fix for awdw resize, fix...
[goodguy/history.git] / cinelerra-5.1 / libzmpeg3 / libzmpeg3.C
index 409e7b43b97916d736d43faf278c9bbaa043755e..93a4ae02bb575d40fa3ec4e39a0599b786c58c0a 100644 (file)
@@ -418,7 +418,7 @@ check_sig(char *path)
   if( !fs->open_file() ) { /* File found */
     char *ext = strrchr(path, '.');
     uint32_t bits = fs->read_uint32();
-    uint32_t bits2 = fs->read_uint32();
+//  uint32_t bits2 = fs->read_uint32();
  
     /* pre-approved suffixes */
     if( ext && !strncasecmp(ext, ".mp3", 4) ) {
@@ -428,10 +428,11 @@ check_sig(char *path)
     else if( bits == TOC_PREFIX ) {
       result = 1;
     }
-    /* Blu-Ray or AVC-HD*/
-    else if( is_bd_(bits, bits2, ext) ) {
-      result = 1;
-    }
+/* don't use, does not work well at all */
+//    /* Blu-Ray or AVC-HD*/
+//    else if( is_bd_(bits, bits2, ext) ) {
+//      result = 1;
+//    }
     else if( (((bits >> 24) & 0xff) == zmpeg3_t::SYNC_BYTE ) ||
              (bits == zmpeg3_t::PACK_START_CODE) ||
              ((bits & 0xfff00000) == 0xfff00000) ||