diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-18 19:50:06 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-24 08:53:22 +0100 |
commit | f729dee615542f69c071d2759417e03a5645ef8a (patch) | |
tree | b12086484da20e9bc23eacc2e5d1ff95c568b4f5 | |
parent | 4c8d9b1d0901b0fba0887e53463574913e8862c5 (diff) | |
download | ffmpeg-f729dee615542f69c071d2759417e03a5645ef8a.tar.gz |
avcodec/mqcenc: Remove unused ff_mqc_length
Unused since 4624656797b667eb6405186682eb04e74dfd90fd.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | libavcodec/mqc.h | 3 | ||||
-rw-r--r-- | libavcodec/mqcenc.c | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/mqc.h b/libavcodec/mqc.h index 8bf7223d41..73604d5efe 100644 --- a/libavcodec/mqc.h +++ b/libavcodec/mqc.h @@ -54,9 +54,6 @@ void ff_mqc_initenc(MqcState *mqc, uint8_t *bp); /** code bit d with context cx */ 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] */ int ff_mqc_flush(MqcState *mqc); int ff_mqc_flush_to(MqcState *mqc, uint8_t *dst, int *dst_len); diff --git a/libavcodec/mqcenc.c b/libavcodec/mqcenc.c index 7c9e1a0df9..c941f849d9 100644 --- a/libavcodec/mqcenc.c +++ b/libavcodec/mqcenc.c @@ -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) { setbits(mqc); |