summaryrefslogtreecommitdiff
path: root/v4l2-apps/util
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-12-14 14:45:07 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-12-14 14:45:07 -0200
commit1efaa2577875627e2c4021ee3445c0ec438e9813 (patch)
tree91a1b13ceabccaf77a9816eda88d3718f61267a5 /v4l2-apps/util
parentc080e8bb0f57cdeeb8cc2cee2e5d8357f404cdcf (diff)
downloadmediapointer-dvb-s2-1efaa2577875627e2c4021ee3445c0ec438e9813.tar.gz
mediapointer-dvb-s2-1efaa2577875627e2c4021ee3445c0ec438e9813.tar.bz2
Fix audio display
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l2-apps/util')
-rw-r--r--v4l2-apps/util/xc3028-firmware/firmware-tool.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/v4l2-apps/util/xc3028-firmware/firmware-tool.c b/v4l2-apps/util/xc3028-firmware/firmware-tool.c
index 037d4f12c..2d3df055e 100644
--- a/v4l2-apps/util/xc3028-firmware/firmware-tool.c
+++ b/v4l2-apps/util/xc3028-firmware/firmware-tool.c
@@ -458,31 +458,31 @@ void dump_firm_std(v4l2_std_id id)
} else if ( (id & V4L2_STD_SECAM_LC) == V4L2_STD_SECAM_LC) {
printf ("SECAM/Lc ");
curr_id = V4L2_STD_SECAM_LC;
- } else if ( (id & V4L2_STD_A2)) {
+ } else if ( (id & V4L2_STD_A2) == V4L2_STD_A2) {
printf ("A2 ");
curr_id = V4L2_STD_A2;
- } else if ( (id & V4L2_STD_A2_A)) {
+ } else if ( (id & V4L2_STD_A2_A) == V4L2_STD_A2_A) {
printf ("A2/A ");
curr_id = V4L2_STD_A2_A;
- } else if ( (id & V4L2_STD_A2_B)) {
- printf ("A2/A ");
+ } else if ( (id & V4L2_STD_A2_B) == V4L2_STD_A2_B) {
+ printf ("A2/B ");
curr_id = V4L2_STD_A2_B;
- } else if ( (id & V4L2_STD_NICAM)) {
+ } else if ( (id & V4L2_STD_NICAM) == V4L2_STD_NICAM) {
printf ("NICAM ");
curr_id = V4L2_STD_NICAM;
- } else if ( (id & V4L2_STD_NICAM_A)) {
+ } else if ( (id & V4L2_STD_NICAM_A) == V4L2_STD_NICAM_A) {
printf ("NICAM/A ");
curr_id = V4L2_STD_NICAM_A;
- } else if ( (id & V4L2_STD_NICAM_B)) {
+ } else if ( (id & V4L2_STD_NICAM_B) == V4L2_STD_NICAM_B) {
printf ("NICAM/B ");
curr_id = V4L2_STD_NICAM_B;
- } else if ( (id & V4L2_STD_AM)) {
+ } else if ( (id & V4L2_STD_AM) == V4L2_STD_AM) {
printf ("AM ");
curr_id = V4L2_STD_AM;
- } else if ( (id & V4L2_STD_BTSC)) {
+ } else if ( (id & V4L2_STD_BTSC) == V4L2_STD_BTSC) {
printf ("BTSC ");
curr_id = V4L2_STD_BTSC;
- } else if ( (id & V4L2_STD_EIAJ)) {
+ } else if ( (id & V4L2_STD_EIAJ) == V4L2_STD_EIAJ) {
printf ("EIAJ ");
curr_id = V4L2_STD_EIAJ;
} else {