summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/combined/ffmpeg/mkcodeclist.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/combined/ffmpeg/mkcodeclist.pl b/src/combined/ffmpeg/mkcodeclist.pl
index 50632af4b..3f640bcfc 100755
--- a/src/combined/ffmpeg/mkcodeclist.pl
+++ b/src/combined/ffmpeg/mkcodeclist.pl
@@ -19,7 +19,7 @@ if (substr ($line, 0, 12) eq 'AV_CODEC_ID_') {
}
while (defined $line) {
chomp $line;
- $line =~ s/^$ff_prefix//o;
+ $line =~ s/^$ff_prefix|\s+$//g;
$codecs{$line} = 0;
$line = <LIST>;
}