[FFmpeg-cvslog] avcodec/speedhq: Remove unused ff_rl_speedhq
Andreas Rheinhardt
git at videolan.org
Thu Oct 27 16:53:05 EEST 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sat Oct 22 18:56:28 2022 +0200| [e59e14eee11e2efd8b2c58ee1033682ddfe22845] | committer: Andreas Rheinhardt
avcodec/speedhq: Remove unused ff_rl_speedhq
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e59e14eee11e2efd8b2c58ee1033682ddfe22845
---
libavcodec/speedhq.c | 9 ---------
libavcodec/speedhq.h | 3 ---
libavcodec/speedhqdec.c | 1 -
3 files changed, 13 deletions(-)
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 ac233b3645..e1e6f9a5f5 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)
More information about the ffmpeg-cvslog
mailing list