aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-22 18:48:40 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-27 15:44:38 +0200
commit92b81a7c99ef82d8d8810f4432c46fc6ccffb59d (patch)
tree30bc0172b5164720594bf12e97e727ebca8bfb5f /libavcodec
parenta89b9d155b0657906e07bf9fac89f7eb203c30de (diff)
downloadffmpeg-92b81a7c99ef82d8d8810f4432c46fc6ccffb59d.tar.gz
avcodec/mpeg12data: Remove ff_rl_mpeg1
No longer used anywhere. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpeg12.c1
-rw-r--r--libavcodec/mpeg12data.c8
-rw-r--r--libavcodec/mpeg12vlc.h3
3 files changed, 1 insertions, 11 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index b0e638bfcd..5d5f39388f 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -37,6 +37,7 @@
#include "mpeg12codecs.h"
#include "mpeg12data.h"
#include "mpeg12dec.h"
+#include "rl.h"
#include "startcode.h"
static const uint8_t table_mb_ptype[7][2] = {
diff --git a/libavcodec/mpeg12data.c b/libavcodec/mpeg12data.c
index 1e3410bf2f..a55fa463a4 100644
--- a/libavcodec/mpeg12data.c
+++ b/libavcodec/mpeg12data.c
@@ -164,14 +164,6 @@ const int8_t ff_mpeg12_run[MPEG12_RL_NB_ELEMS] = {
25, 26, 27, 28, 29, 30, 31,
};
-RLTable ff_rl_mpeg1 = {
- 111,
- 111,
- ff_mpeg1_vlc_table,
- ff_mpeg12_run,
- ff_mpeg12_level,
-};
-
const uint8_t ff_mpeg12_mbAddrIncrTable[36][2] = {
{0x1, 1},
{0x3, 3},
diff --git a/libavcodec/mpeg12vlc.h b/libavcodec/mpeg12vlc.h
index 15275c5269..3ed35968f6 100644
--- a/libavcodec/mpeg12vlc.h
+++ b/libavcodec/mpeg12vlc.h
@@ -28,7 +28,6 @@
#ifndef AVCODEC_MPEG12VLC_H
#define AVCODEC_MPEG12VLC_H
-#include "rl.h"
#include "vlc.h"
#define DC_VLC_BITS 9
@@ -52,8 +51,6 @@ void ff_mpeg12_init_vlcs(void);
#define MPEG12_RL_NB_ELEMS 111
-extern RLTable ff_rl_mpeg1;
-
extern const int8_t ff_mpeg12_level[MPEG12_RL_NB_ELEMS];
extern const int8_t ff_mpeg12_run[MPEG12_RL_NB_ELEMS];