mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 12:17:12 +00:00
stream_lavf: remove uninitialized http_like array
Serves no purpose and can be a fatal error on certain compiler settings. Just move the other http_like up here instead.
This commit is contained in:
parent
9fbe000451
commit
8fc8df3d39
@ -73,7 +73,8 @@ const struct m_sub_options stream_lavf_conf = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char *const http_like[];
|
static const char *const http_like[] =
|
||||||
|
{"http", "https", "mmsh", "mmshttp", "httproxy", NULL};
|
||||||
|
|
||||||
static int open_f(stream_t *stream);
|
static int open_f(stream_t *stream);
|
||||||
static struct mp_tags *read_icy(stream_t *stream);
|
static struct mp_tags *read_icy(stream_t *stream);
|
||||||
@ -404,9 +405,6 @@ done:
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *const http_like[] =
|
|
||||||
{"http", "https", "mmsh", "mmshttp", "httproxy", NULL};
|
|
||||||
|
|
||||||
const stream_info_t stream_info_ffmpeg = {
|
const stream_info_t stream_info_ffmpeg = {
|
||||||
.name = "ffmpeg",
|
.name = "ffmpeg",
|
||||||
.open = open_f,
|
.open = open_f,
|
||||||
|
Loading…
Reference in New Issue
Block a user