avcodec/mqcenc: Remove unused ff_mqc_length

Unused since 4624656797.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
pull/371/head
Andreas Rheinhardt 4 years ago
parent 4c8d9b1d09
commit f729dee615
  1. 3
      libavcodec/mqc.h
  2. 5
      libavcodec/mqcenc.c

@ -54,9 +54,6 @@ void ff_mqc_initenc(MqcState *mqc, uint8_t *bp);
/** code bit d with context cx */ /** code bit d with context cx */
void ff_mqc_encode(MqcState *mqc, uint8_t *cxstate, int d); void ff_mqc_encode(MqcState *mqc, uint8_t *cxstate, int d);
/** number of encoded bytes */
int ff_mqc_length(MqcState *mqc);
/** flush the encoder [returns number of bytes encoded] */ /** flush the encoder [returns number of bytes encoded] */
int ff_mqc_flush(MqcState *mqc); int ff_mqc_flush(MqcState *mqc);
int ff_mqc_flush_to(MqcState *mqc, uint8_t *dst, int *dst_len); int ff_mqc_flush_to(MqcState *mqc, uint8_t *dst, int *dst_len);

@ -102,11 +102,6 @@ void ff_mqc_encode(MqcState *mqc, uint8_t *cxstate, int d)
} }
} }
int ff_mqc_length(MqcState *mqc)
{
return mqc->bp - mqc->bpstart;
}
int ff_mqc_flush(MqcState *mqc) int ff_mqc_flush(MqcState *mqc)
{ {
setbits(mqc); setbits(mqc);

Loading…
Cancel
Save