Declare callbacks static

It was a typo, "static" was missing.
This commit is contained in:
Romain Vimont 2021-08-26 12:26:44 +02:00
parent f78608ab29
commit 3761f56c28

View file

@ -330,7 +330,7 @@ scrcpy(const struct scrcpy_options *options) {
av_log_set_callback(av_log_callback);
const struct stream_callbacks stream_cbs = {
static const struct stream_callbacks stream_cbs = {
.on_eos = stream_on_eos,
};
stream_init(&s->stream, s->server.video_socket, &stream_cbs, NULL);