diff options
author | sfan5 <sfan5@live.de> | 2021-04-05 23:00:12 +0200 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2021-04-08 23:47:35 +0300 |
commit | 5117fa70afc0431e57231e216474a1f530094fd0 (patch) | |
tree | b1d0ad44f4184b7eee3e1392d0c896c1bac6761f /stream/stream_slice.c | |
parent | 6be613c178d96c60ca0ae08a32946a5c4ce02989 (diff) | |
download | mpv-5117fa70afc0431e57231e216474a1f530094fd0.tar.bz2 mpv-5117fa70afc0431e57231e216474a1f530094fd0.tar.xz |
stream: turn stream_info.open2's args argument const
So nobody comes up with the "smart" idea to modify those again.
Diffstat (limited to 'stream/stream_slice.c')
-rw-r--r-- | stream/stream_slice.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_slice.c b/stream/stream_slice.c index 8bf80943eb..c0dbeeb2af 100644 --- a/stream/stream_slice.c +++ b/stream/stream_slice.c @@ -136,7 +136,7 @@ static int parse_slice_range(stream_t *stream) return STREAM_OK; } -static int open2(struct stream *stream, struct stream_open_args *args) +static int open2(struct stream *stream, const struct stream_open_args *args) { struct priv *p = talloc_zero(stream, struct priv); stream->priv = p; |