[FFmpeg-devel] [PATCH] avformat/avformat.h: Add av_stream_remove_side_data.
Michael Niedermayer
michael at niedermayer.cc
Tue Jul 3 04:07:15 EEST 2018
On Mon, Jun 25, 2018 at 04:03:32PM -0700, Jacob Trimble wrote:
> Signed-off-by: Jacob Trimble <modmaker at google.com>
> ---
> libavformat/avformat.h | 8 ++++++++
> libavformat/utils.c | 11 +++++++++++
> 2 files changed, 19 insertions(+)
>
> diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> index fdaffa5bf4..434c88837e 100644
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -2167,6 +2167,14 @@ AVStream *avformat_new_stream(AVFormatContext *s, const AVCodec *c);
> int av_stream_add_side_data(AVStream *st, enum AVPacketSideDataType type,
> uint8_t *data, size_t size);
>
> +/**
> + * Removes any existing side data of the given type.
> + *
> + * @param st stream
> + * @param type side information type
> + */
> +void av_stream_remove_side_data(AVStream *st, enum AVPacketSideDataType type);
What would use this and why ?
The commit message does not explain this
If side data is changing it probably should be put in AVPackets or AVFrames
not the stream.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
You can kill me, but you cannot change the truth.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180703/14b95e6b/attachment.sig>
More information about the ffmpeg-devel
mailing list