[FFmpeg-cvslog] avcodec/mqcenc: Remove unused ff_mqc_length

Andreas Rheinhardt git at videolan.org
Wed Feb 24 11:18:52 EET 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Feb 18 19:50:06 2021 +0100| [f729dee615542f69c071d2759417e03a5645ef8a] | committer: Andreas Rheinhardt

avcodec/mqcenc: Remove unused ff_mqc_length

Unused since 4624656797b667eb6405186682eb04e74dfd90fd.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f729dee615542f69c071d2759417e03a5645ef8a
---

 libavcodec/mqc.h    | 3 ---
 libavcodec/mqcenc.c | 5 -----
 2 files changed, 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);



More information about the ffmpeg-cvslog mailing list