summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-08-31 14:05:49 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-09-02 19:20:27 +0200
commit2ca78936c7d4862100b7eb9b4c6097b063d495c8 (patch)
treeaf3e195d60ac34b0533132dd38ecb472ba8bf06f /libavcodec/mpegvideo.c
parent2c43cfe2d4051c14c18d904c830d4f0a2b1dbef1 (diff)
downloadffmpeg-2ca78936c7d4862100b7eb9b4c6097b063d495c8.tar.gz
rl.h: remove deprecated and now unused vlc member.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 3ec81cef52..748dbc8d28 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1618,7 +1618,7 @@ av_cold void ff_init_rl(RLTable *rl,
}
}
-av_cold void ff_init_vlc_rl(RLTable *rl)
+av_cold void ff_init_vlc_rl(RLTable *rl, const VLC *vlc)
{
int i, q;
@@ -1630,9 +1630,9 @@ av_cold void ff_init_vlc_rl(RLTable *rl)
qmul = 1;
qadd = 0;
}
- for (i = 0; i < rl->vlc.table_size; i++) {
- int code = rl->vlc.table[i][0];
- int len = rl->vlc.table[i][1];
+ for (i = 0; i < vlc->table_size; i++) {
+ int code = vlc->table[i][0];
+ int len = vlc->table[i][1];
int level, run;
if (len == 0) { // illegal code