diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-08-29 22:04:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-08-29 22:04:40 -0300 |
commit | 5022fe1de9de096b1b94c17c701a733b068e6c1d (patch) | |
tree | a93356da1fdc7d3bbb4f43a5ee78fa2135de1f68 /v4l2-apps/util/gen_keytables.pl | |
parent | 8bb736e60de8ac0d4fdff3d50a7d79098fac81a5 (diff) | |
download | mediapointer-dvb-s2-5022fe1de9de096b1b94c17c701a733b068e6c1d.tar.gz mediapointer-dvb-s2-5022fe1de9de096b1b94c17c701a733b068e6c1d.tar.bz2 |
gen_keytables.pl: Fix parsing for some IR tables
From: Mauro Carvalho Chehab <mchehab@redhat.com>
There are some tables where the last value ends with }
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'v4l2-apps/util/gen_keytables.pl')
-rwxr-xr-x | v4l2-apps/util/gen_keytables.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l2-apps/util/gen_keytables.pl b/v4l2-apps/util/gen_keytables.pl index 5a5398017..fad4ccfeb 100755 --- a/v4l2-apps/util/gen_keytables.pl +++ b/v4l2-apps/util/gen_keytables.pl @@ -14,7 +14,7 @@ while (<>) { next; } if ($keyname ne "") { - if (m/(0x[\dA-Fa-f]+).*(KEY_[^\s\,]+)/) { + if (m/(0x[\dA-Fa-f]+).*(KEY_[^\s\,\}]+)/) { printf OUT "%s %s\n",$1, $2; next; } |