Declare callbacks static
It was a typo, "static" was missing.
This commit is contained in:
parent
f78608ab29
commit
3761f56c28
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ scrcpy(const struct scrcpy_options *options) {
|
||||||
|
|
||||||
av_log_set_callback(av_log_callback);
|
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,
|
.on_eos = stream_on_eos,
|
||||||
};
|
};
|
||||||
stream_init(&s->stream, s->server.video_socket, &stream_cbs, NULL);
|
stream_init(&s->stream, s->server.video_socket, &stream_cbs, NULL);
|
||||||
|
|
Loading…
Reference in a new issue