diff mbox series

[FFmpeg-devel,17/17] avcodec/speedhq: Remove unused ff_rl_speedhq

Message ID AS8P250MB0744B7AA2267949E04F24DAC8F2F9@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit e59e14eee11e2efd8b2c58ee1033682ddfe22845
Headers show
Series [FFmpeg-devel,01/17] avcodec/mpeg12dec: Remove redundant function call | expand

Commit Message

Andreas Rheinhardt Oct. 23, 2022, 7:36 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/speedhq.c    | 9 ---------
 libavcodec/speedhq.h    | 3 ---
 libavcodec/speedhqdec.c | 1 -
 3 files changed, 13 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/speedhq.c b/libavcodec/speedhq.c
index 46ff0cfc53..eb7de03116 100644
--- a/libavcodec/speedhq.c
+++ b/libavcodec/speedhq.c
@@ -20,7 +20,6 @@ 
  */
 
 #include <stdint.h>
-#include "rl.h"
 #include "speedhq.h"
 
 /* AC codes: Very similar but not identical to MPEG-2. */
@@ -97,11 +96,3 @@  const uint8_t ff_speedhq_run[121] = {
     23, 24, 25, 26, 27, 28, 29, 30,
     31,
 };
-
-RLTable ff_rl_speedhq = {
-    121,
-    121,
-    ff_speedhq_vlc_table,
-    ff_speedhq_run,
-    ff_speedhq_level,
-};
diff --git a/libavcodec/speedhq.h b/libavcodec/speedhq.h
index 8bc22ab0d7..c40991b8b5 100644
--- a/libavcodec/speedhq.h
+++ b/libavcodec/speedhq.h
@@ -22,7 +22,6 @@ 
 #define AVCODEC_SPEEDHQ_H
 
 #include <stdint.h>
-#include "rl.h"
 #include "libavutil/attributes_internal.h"
 
 #define SPEEDHQ_RL_NB_ELEMS 121
@@ -31,8 +30,6 @@  FF_VISIBILITY_PUSH_HIDDEN
 extern const uint8_t ff_speedhq_run[SPEEDHQ_RL_NB_ELEMS];
 extern const uint8_t ff_speedhq_level[SPEEDHQ_RL_NB_ELEMS];
 extern const uint16_t ff_speedhq_vlc_table[SPEEDHQ_RL_NB_ELEMS + 2][2];
-
-extern RLTable attribute_visibility_hidden ff_rl_speedhq;
 FF_VISIBILITY_POP_HIDDEN
 
 #endif /* AVCODEC_SPEEDHQ_H */
diff --git a/libavcodec/speedhqdec.c b/libavcodec/speedhqdec.c
index 0c5942e677..623fa340d5 100644
--- a/libavcodec/speedhqdec.c
+++ b/libavcodec/speedhqdec.c
@@ -39,7 +39,6 @@ 
 #include "mathops.h"
 #include "mpeg12data.h"
 #include "mpeg12vlc.h"
-#include "rl.h"
 #include "speedhq.h"
 
 #define MAX_INDEX (64 - 1)