[FFmpeg-devel] [PATCH 10/17] avcodec/mpeg12data: Remove unused ff_rl_mpeg2

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Oct 23 22:36:03 EEST 2022


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/mpeg12data.c | 8 --------
 libavcodec/mpeg12vlc.h  | 1 -
 2 files changed, 9 deletions(-)

diff --git a/libavcodec/mpeg12data.c b/libavcodec/mpeg12data.c
index 398f70dd8a..5803999153 100644
--- a/libavcodec/mpeg12data.c
+++ b/libavcodec/mpeg12data.c
@@ -172,14 +172,6 @@ RLTable ff_rl_mpeg1 = {
     mpeg1_level,
 };
 
-RLTable ff_rl_mpeg2 = {
-    111,
-    111,
-    ff_mpeg2_vlc_table,
-    mpeg1_run,
-    mpeg1_level,
-};
-
 const uint8_t ff_mpeg12_mbAddrIncrTable[36][2] = {
     {0x1, 1},
     {0x3, 3},
diff --git a/libavcodec/mpeg12vlc.h b/libavcodec/mpeg12vlc.h
index dc7f0269bf..71027d468f 100644
--- a/libavcodec/mpeg12vlc.h
+++ b/libavcodec/mpeg12vlc.h
@@ -53,7 +53,6 @@ void ff_mpeg12_init_vlcs(void);
 #define MPEG12_RL_NB_ELEMS 111
 
 extern RLTable ff_rl_mpeg1;
-extern RLTable ff_rl_mpeg2;
 
 extern const uint16_t ff_mpeg1_vlc_table[MPEG12_RL_NB_ELEMS + 2][2];
 extern const uint16_t ff_mpeg2_vlc_table[MPEG12_RL_NB_ELEMS + 2][2];
-- 
2.34.1



More information about the ffmpeg-devel mailing list