summaryrefslogtreecommitdiff
path: root/v4l2-apps/util/gen_keytables.pl
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-08-29 22:04:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-08-29 22:04:40 -0300
commit5022fe1de9de096b1b94c17c701a733b068e6c1d (patch)
treea93356da1fdc7d3bbb4f43a5ee78fa2135de1f68 /v4l2-apps/util/gen_keytables.pl
parent8bb736e60de8ac0d4fdff3d50a7d79098fac81a5 (diff)
downloadmediapointer-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-xv4l2-apps/util/gen_keytables.pl2
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;
}