diff mbox series

[FFmpeg-devel,03/15] avcodec/mqcenc: Remove unused ff_mqc_length

Message ID 20210219075022.2445161-3-andreas.rheinhardt@gmail.com
State Accepted
Commit f729dee615542f69c071d2759417e03a5645ef8a
Headers show
Series [FFmpeg-devel,01/15] avformat/asf: Move ff_asf_audio_conceal_none to its only user
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Feb. 19, 2021, 7:50 a.m. UTC
Unused since 4624656797b667eb6405186682eb04e74dfd90fd.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/mqc.h    | 3 ---
 libavcodec/mqcenc.c | 5 -----
 2 files changed, 8 deletions(-)
diff mbox series

Patch

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