Message ID | 20240703123745.56443-3-r.smirnov@omp.ru |
---|---|
State | Superseded |
Headers | show |
Series | fix errors found by SVACE static analyzer | expand |
diff --git a/client/player.c b/client/player.c index 7a7598c39..288d7c677 100644 --- a/client/player.c +++ b/client/player.c @@ -3388,7 +3388,7 @@ static void cmd_register_endpoint(int argc, char *argv[]) if (strrchr(argv[2], ':')) { ep->codec = 0xff; - parse_vendor_codec(argv[2], &ep->cid, &ep->vid); + parse_vendor_codec(argv[2], &ep->vid, &ep->cid); ep->preset = new0(struct preset, 1); ep->preset->custom.name = strdup("custom"); ep->preset->default_preset = &ep->preset->custom;