diff --git a/conv2ogg b/conv2ogg index 1062221..2652881 100755 --- a/conv2ogg +++ b/conv2ogg @@ -62,8 +62,8 @@ foreach(@ARGV) $short_name = $_; if ($decoder =~ /mplayer/) { - next unless (/\.(m4a|mp3)/); - $short_name =~ s/\.(mp3|m4a)$//; + next if (/\.ogg/); + $short_name =~ s/\..*?$//; } else {