From f104352b918c8ec8f74c0e974cd11e366275e8e9 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 6 May 2022 21:00:50 +0200 Subject: avformat/utils: Move ff_add_param_change to demux_utils.c Only demuxers have a need to add side-data to a packet. Signed-off-by: Andreas Rheinhardt --- libavformat/internal.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libavformat/internal.h') diff --git a/libavformat/internal.h b/libavformat/internal.h index 4d80501eac..cd6240b0a3 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -584,14 +584,6 @@ const AVCodec *ff_find_decoder(AVFormatContext *s, const AVStream *st, void avpriv_set_pts_info(AVStream *st, int pts_wrap_bits, unsigned int pts_num, unsigned int pts_den); -/** - * Add side data to a packet for changing parameters to the given values. - * Parameters set to 0 aren't included in the change. - */ -int ff_add_param_change(AVPacket *pkt, int32_t channels, - uint64_t channel_layout, int32_t sample_rate, - int32_t width, int32_t height); - /** * Set the timebase for each stream from the corresponding codec timebase and * print it. -- cgit v1.2.3