diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-06 20:53:12 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-05-10 07:42:22 +0200 |
commit | 92a43ad3842b8422dd0e88cfd66cf0f284e5015a (patch) | |
tree | 994bd0d8d5f3ca073603f603c93e3b30ce52a793 /libavformat/internal.h | |
parent | 3c3c13e67b72d9c4e0615e744ef2c1cdf8b2701e (diff) | |
download | ffmpeg-92a43ad3842b8422dd0e88cfd66cf0f284e5015a.tar.gz |
avformat/utils: Move ff_add_attached_pic to demux_utils.c
It is demuxer-only: It potentially adds an AVStream and it sets
AVStream.attached_pic.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 1a51c0dc97..4d80501eac 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -599,22 +599,6 @@ int ff_add_param_change(AVPacket *pkt, int32_t channels, int ff_framehash_write_header(AVFormatContext *s); /** - * Add an attached pic to an AVStream. - * - * @param st if set, the stream to add the attached pic to; - * if unset, a new stream will be added to s. - * @param pb AVIOContext to read data from if buf is unset. - * @param buf if set, it contains the data and size information to be used - * for the attached pic; if unset, data is read from pb. - * @param size the size of the data to read if buf is unset. - * - * @return 0 on success, < 0 on error. On error, this function removes - * the stream it has added (if any). - */ -int ff_add_attached_pic(AVFormatContext *s, AVStream *st, AVIOContext *pb, - AVBufferRef **buf, int size); - -/** * Frees a stream without modifying the corresponding AVFormatContext. * Must only be called if the latter doesn't matter or if the stream * is not yet attached to an AVFormatContext. |