diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-06 21:28:57 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-10 07:45:58 +0200 |
commit | a085cfa65414ff4346d8367cfb54d50d4925396f (patch) | |
tree | cc6c802f6f5e3fd40d447bf3d442834be839c1f5 /libavformat/internal.h | |
parent | aef16886dde59d41bdeef8dfe78cd7d9055bf50e (diff) |
avformat/utils: Move ff_get_extradata to demux_utils.c
It is only used by demuxers (although it is hypothetically
possible that some day e.g. a protocol might need it, but
that is unlikely given that they don't deal with AVCodecParameters).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index d46368228c..acda79821a 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -653,15 +653,6 @@ int ff_rename(const char *url_src, const char *url_dst, void *logctx); int ff_alloc_extradata(AVCodecParameters *par, int size); /** - * Allocate extradata with additional AV_INPUT_BUFFER_PADDING_SIZE at end - * which is always set to 0 and fill it from pb. - * - * @param size size of extradata - * @return >= 0 if OK, AVERROR_xxx on error - */ -int ff_get_extradata(void *logctx, AVCodecParameters *par, AVIOContext *pb, int size); - -/** * Copies the whilelists from one context to the other */ int ff_copy_whiteblacklists(AVFormatContext *dst, const AVFormatContext *src); |