stream: constify format array because we copy

This commit is contained in:
Wim Taymans 2017-06-21 15:14:25 +02:00
parent 834da99c7c
commit 937a1567dd
6 changed files with 7 additions and 7 deletions

View file

@ -299,7 +299,7 @@ static void on_state_changed(struct pw_listener *listener, struct pw_context *co
case PW_CONTEXT_STATE_CONNECTED:
{
struct spa_format *formats[1];
const struct spa_format *formats[1];
uint8_t buffer[1024];
struct spa_pod_builder b = SPA_POD_BUILDER_INIT(buffer, sizeof(buffer));
struct spa_pod_frame f[2];