mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/utils: move ff_add_cpb_side_data() to encoder code
It's only used by encoders, so move it to prevent wrong usage. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
3744ada3b8
commit
0231df505d
13 changed files with 45 additions and 45 deletions
|
|
@ -73,6 +73,11 @@ int ff_encode_reordered_opaque(AVCodecContext *avctx,
|
|||
int ff_encode_encode_cb(AVCodecContext *avctx, AVPacket *avpkt,
|
||||
AVFrame *frame, int *got_packet);
|
||||
|
||||
/**
|
||||
* Add a CPB properties side data to an encoding context.
|
||||
*/
|
||||
AVCPBProperties *ff_encode_add_cpb_side_data(AVCodecContext *avctx);
|
||||
|
||||
/**
|
||||
* Rescale from sample rate to AVCodecContext.time_base.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue