forked from FFmpeg/FFmpeg
avcodec/opusenc_psy: Remove unused function parameter
Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
bcfa427c8f
commit
bebd5b77af
3 changed files with 3 additions and 3 deletions
|
@ -594,7 +594,7 @@ static int opus_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
|
||||||
opus_packet_assembler(s, avpkt);
|
opus_packet_assembler(s, avpkt);
|
||||||
|
|
||||||
/* Update the psychoacoustic system */
|
/* Update the psychoacoustic system */
|
||||||
ff_opus_psy_postencode_update(&s->psyctx, s->frame, s->rc);
|
ff_opus_psy_postencode_update(&s->psyctx, s->frame);
|
||||||
|
|
||||||
/* Remove samples from queue and skip if needed */
|
/* Remove samples from queue and skip if needed */
|
||||||
ff_af_queue_remove(&s->afq, s->packet.frames*frame_size, &avpkt->pts, &avpkt->duration);
|
ff_af_queue_remove(&s->afq, s->packet.frames*frame_size, &avpkt->pts, &avpkt->duration);
|
||||||
|
|
|
@ -479,7 +479,7 @@ int ff_opus_psy_celt_frame_process(OpusPsyContext *s, CeltFrame *f, int index)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ff_opus_psy_postencode_update(OpusPsyContext *s, CeltFrame *f, OpusRangeCoder *rc)
|
void ff_opus_psy_postencode_update(OpusPsyContext *s, CeltFrame *f)
|
||||||
{
|
{
|
||||||
int i, frame_size = OPUS_BLOCK_SIZE(s->p.framesize);
|
int i, frame_size = OPUS_BLOCK_SIZE(s->p.framesize);
|
||||||
int steps_out = s->p.frames*(frame_size/120);
|
int steps_out = s->p.frames*(frame_size/120);
|
||||||
|
|
|
@ -98,7 +98,7 @@ typedef struct OpusPsyContext {
|
||||||
int ff_opus_psy_process (OpusPsyContext *s, OpusPacketInfo *p);
|
int ff_opus_psy_process (OpusPsyContext *s, OpusPacketInfo *p);
|
||||||
void ff_opus_psy_celt_frame_init (OpusPsyContext *s, CeltFrame *f, int index);
|
void ff_opus_psy_celt_frame_init (OpusPsyContext *s, CeltFrame *f, int index);
|
||||||
int ff_opus_psy_celt_frame_process(OpusPsyContext *s, CeltFrame *f, int index);
|
int ff_opus_psy_celt_frame_process(OpusPsyContext *s, CeltFrame *f, int index);
|
||||||
void ff_opus_psy_postencode_update (OpusPsyContext *s, CeltFrame *f, OpusRangeCoder *rc);
|
void ff_opus_psy_postencode_update (OpusPsyContext *s, CeltFrame *f);
|
||||||
|
|
||||||
int ff_opus_psy_init(OpusPsyContext *s, AVCodecContext *avctx,
|
int ff_opus_psy_init(OpusPsyContext *s, AVCodecContext *avctx,
|
||||||
struct FFBufQueue *bufqueue, OpusEncOptions *options);
|
struct FFBufQueue *bufqueue, OpusEncOptions *options);
|
||||||
|
|
Loading…
Add table
Reference in a new issue