From 408b974796c55a3a2ca0bba2c3ac473e0bdfcd3f Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Tue, 7 Dec 2021 10:54:33 +0100 Subject: avformat/utils: Add const where appropriate Signed-off-by: Andreas Rheinhardt --- libavformat/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/internal.h') diff --git a/libavformat/internal.h b/libavformat/internal.h index f43e408548..878c4f1164 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -630,7 +630,7 @@ void ff_parse_key_value(const char *str, ff_parse_key_val_cb callback_get_buf, * Find stream index based on format-specific stream ID * @return stream index, or < 0 on error */ -int ff_find_stream_index(AVFormatContext *s, int id); +int ff_find_stream_index(const AVFormatContext *s, int id); /** * Internal version of av_index_search_timestamp -- cgit v1.2.3