Browse Source

Allow 4-character extensions

Zachary Kotlarek 14 years ago
parent
commit
beedc5fc9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      encode.pl

+ 1 - 1
encode.pl

@@ -109,7 +109,7 @@ if ($title) {
 if (!defined($out_file) || length($out_file) < 1) {
 if (!defined($out_file) || length($out_file) < 1) {
 	$out_file = $in_file;
 	$out_file = $in_file;
 } else {
 } else {
-	my ($force_format) = $out_file =~ /\.(\w{2,3})$/;
+	my ($force_format) = $out_file =~ /\.(\w{2,4})$/;
 	if (lc($force_format) eq 'mkv') {
 	if (lc($force_format) eq 'mkv') {
 		$FORMAT = 'mkv';
 		$FORMAT = 'mkv';
 	}
 	}