]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/mqcenc: Remove unused ff_mqc_length
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 18 Feb 2021 18:50:06 +0000 (19:50 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 24 Feb 2021 07:53:22 +0000 (08:53 +0100)
Unused since 4624656797b667eb6405186682eb04e74dfd90fd.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/mqc.h
libavcodec/mqcenc.c

index 8bf7223d419e91dd6c46cdb5edf2e893dbb22060..73604d5efe359073fb18eb150e32ccaf0f2ed5c4 100644 (file)
@@ -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);
index 7c9e1a0df961bdaa3ce08020bb88eeee39c7467b..c941f849d96f36ef2f6a2277bcc14db74a3b362b 100644 (file)
@@ -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);