diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-07-25 23:02:03 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2007-07-25 23:02:03 +0200 |
commit | 65b0964cd78a726b372af8d19658e4dfd3137a24 (patch) | |
tree | 599bc9f235264c69980cca971c9c0035c95198a8 /v4l2-apps | |
parent | f429aeb66e793e31f5782b9ace45de6d54a08344 (diff) | |
download | mediapointer-dvb-s2-65b0964cd78a726b372af8d19658e4dfd3137a24.tar.gz mediapointer-dvb-s2-65b0964cd78a726b372af8d19658e4dfd3137a24.tar.bz2 |
Fix v4l2-dbg option parsing bug.
From: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'v4l2-apps')
-rw-r--r-- | v4l2-apps/util/v4l2-dbg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/v4l2-apps/util/v4l2-dbg.cpp b/v4l2-apps/util/v4l2-dbg.cpp index 10c9a8927..9d2bce58b 100644 --- a/v4l2-apps/util/v4l2-dbg.cpp +++ b/v4l2-apps/util/v4l2-dbg.cpp @@ -358,7 +358,7 @@ int main(int argc, char **argv) get_reg.match_type = parse_type(value); break; case 1: - get_reg.match_chip = parse_chip(set_reg.match_type, value); + get_reg.match_chip = parse_chip(get_reg.match_type, value); break; case 2: reg_min = strtoull(value, 0L, 0); @@ -384,7 +384,7 @@ int main(int argc, char **argv) chip_id.match_type = parse_type(value); break; case 1: - chip_id.match_chip = parse_chip(set_reg.match_type, value); + chip_id.match_chip = parse_chip(chip_id.match_type, value); break; } } |