diff options
author | ValdikSS <iam@valdikss.org.ru> | 2018-08-20 13:11:34 +0300 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-08-21 04:05:58 +0000 |
commit | 712b2df7c999cb2ec4ab8acca2aa3300b74496d9 (patch) | |
tree | 9b6024354397745c8a36856c62c444d28702d115 | |
parent | 1f1c9c9af16d287f203ff21bc99394bb338f8d04 (diff) |
Fix SBC packet Loudness/SNR information wrong byte compatison
Change-Id: I05b551ccdbc0630a1d24862e6121d2385c33550e
Reviewed-on: https://code.wireshark.org/review/29198
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-btavdtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-btavdtp.c b/epan/dissectors/packet-btavdtp.c index c21308b6b6..95c337d6c3 100644 --- a/epan/dissectors/packet-btavdtp.c +++ b/epan/dissectors/packet-btavdtp.c @@ -807,7 +807,7 @@ dissect_codec(tvbuff_t *tvb, packet_info *pinfo, proto_item *service_item, proto (value8[1] & 0x0C) ? "" : "not set ", (value8[1] & 0x02) ? "SNR " : "", (value8[1] & 0x01) ? "Loudness " : "", - (value8[0] & 0x03) ? "" : "not set ", + (value8[1] & 0x03) ? "" : "not set ", value8[2], value8[3]); @@ -832,7 +832,7 @@ dissect_codec(tvbuff_t *tvb, packet_info *pinfo, proto_item *service_item, proto (value8[1] & 0x0C) ? "" : "not set ", (value8[1] & 0x02) ? "SNR " : "", (value8[1] & 0x01) ? "Loudness " : "", - (value8[0] & 0x03) ? "" : "not set ", + (value8[1] & 0x03) ? "" : "not set ", value8[2], value8[3]); } else { |