  	    if (k<0) subcp_open(fd);
      }
  #endif
-@@ -1488,9 +1628,13 @@
+@@ -1488,9 +1631,13 @@
      }
  
      // we do overlap if the user forced it (suboverlap_enable == 2) or

 
     ogg_d->subs[ogg_d->num_sub].ogg_d = ogg_d;
 
@@ -895,6 +940,62 @@
 	theora_comment_clear(&cc);
 	theora_info_clear(&inf);
 #   endif /* HAVE_OGGTHEORA */

     };
     struct subreader *srp;
     
@@ -1381,6 +1519,11 @@
 			    break;
 			}
 	    }
