components/bt: Fix AVRC metadata length error

This commit is contained in:
baohongde 2019-11-29 15:56:51 +08:00
parent 42d7524b91
commit 3357b475f7

View file

@ -251,7 +251,7 @@ static void handle_rc_attributes_rsp ( tAVRC_MSG_VENDOR *vendor_msg)
btc_avrc_ct_cb_to_app(ESP_AVRC_CT_METADATA_RSP_EVT, &param[i]);
attr_index += (int) vendor_msg->p_vendor_data[7 + attr_index] + 8;
attr_index += attr_length + 8;
}
}