diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-07 08:43:22 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-10 07:49:01 +0200 |
commit | 9825d488d6fdfb7c14d2d702d1a890311f5b2943 (patch) | |
tree | 1af99774655a8bd0815387651eeab1d853364ca8 /libavformat/internal.h | |
parent | 493356cc0bd8386a247ed79e4ea381e8fbdbd057 (diff) |
avformat/utils: Move ff_find_stream_index to demux_utils.c
It is only used by demuxers (and it is generally demuxers
who have to translate format-specific IDs to stream indices).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index acda79821a..44516578b0 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -558,12 +558,6 @@ typedef void (*ff_parse_key_val_cb)(void *context, const char *key, void ff_parse_key_value(const char *str, ff_parse_key_val_cb callback_get_buf, void *context); -/** - * Find stream index based on format-specific stream ID - * @return stream index, or < 0 on error - */ -int ff_find_stream_index(const AVFormatContext *s, int id); - enum AVCodecID ff_guess_image2_codec(const char *filename); const AVCodec *ff_find_decoder(AVFormatContext *s, const AVStream *st, |