rem: } else if (g_ascii_strcasecmp (name, "AUDIO_TS") == 0) { have_ats = TRUE;
add: break;
context: cd_cache_disc_is_dvd (CdCache *cache,		      GError **error){  GDir *dir;  const gchar *name;  gboolean have_vts = FALSE, have_vtsifo = FALSE, have_ats = FALSE;  /* open disc, check capabilities and open mount */  if (!cd_cache_open_device (cache, error))    return MEDIA_TYPE_ERROR;  if (!(cache->cap & CDC_DVD))    return MEDIA_TYPE_DATA;  if (!(dir = cd_cache_open_mountpoint (cache, error)))    return MEDIA_TYPE_ERROR;  /* check directory structure */  while ((name = g_dir_read_name (dir)) != NULL) {    if (g_ascii_strcasecmp (name, "VIDEO_TS") == 0) {      GDir *subdir;      gchar *subdirname = g_build_path (G_DIR_SEPARATOR_S,                               cache->mountpoint, name, NULL);      have_vts = TRUE;      if (!(subdir = g_dir_open (subdirname, 0, error))) {        g_dir_close (dir);        return MEDIA_TYPE_ERROR;      }      while ((name = g_dir_read_name (subdir)) != NULL) {        if (g_ascii_strcasecmp (name, "VIDEO_TS.IFO") == 0)          have_vtsifo = TRUE;      }      g_dir_close (subdir);      g_free (subdirname);    } else if (g_ascii_strcasecmp (name, "AUDIO_TS") == 0) {      have_ats = TRUE;    }  }  g_dir_close (dir);  return (have_vts && have_ats && have_vtsifo) ?      MEDIA_TYPE_DVD : MEDIA_TYPE_DATA;}