ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
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 <[email protected]>

> 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);

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to