summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2013-10-29 21:05:25 +0200
committerPetri Hintukainen <phintuka@users.sourceforge.net>2013-10-29 21:05:25 +0200
commitc251b7a816475f3143a3a71cd5f0302adc7fde30 (patch)
treea68afaf6b2a5fb886750f9ea1b6e1f19ecc470b7 /src
parentb9f8239b38a9100e2f30b8bb54967c436dbb073a (diff)
downloadxine-lib-c251b7a816475f3143a3a71cd5f0302adc7fde30.tar.gz
xine-lib-c251b7a816475f3143a3a71cd5f0302adc7fde30.tar.bz2
ffmpeg: remove trailing space from codec id in mkcodeclist.pl
Fixes missing mappings for HEVC and SNOW.
Diffstat (limited to 'src')
-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>;
}