From c251b7a816475f3143a3a71cd5f0302adc7fde30 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Tue, 29 Oct 2013 21:05:25 +0200 Subject: ffmpeg: remove trailing space from codec id in mkcodeclist.pl Fixes missing mappings for HEVC and SNOW. --- src/combined/ffmpeg/mkcodeclist.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 = ; } -- cgit v1.2.3