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 <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user