diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-30 03:06:25 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-04 17:41:34 +0200 |
commit | 7cea36f183b8bb9a28a71f3085a19e4f23614984 (patch) | |
tree | 215827107d812fc97acb57b73c843493033c0224 /libavcodec/mpeg12.c | |
parent | b0c1473f6ea992e1c533f9a005c654228d9a0bda (diff) | |
download | ffmpeg-7cea36f183b8bb9a28a71f3085a19e4f23614984.tar.gz |
avcodec/mpeg12: Inline ff_mpeg12_common_init() into mpeg12enc.c
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index d78e25a777..7f2aaea7c0 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -36,7 +36,6 @@ #include "mpeg12.h" #include "mpeg12data.h" #include "mpeg12dec.h" -#include "mpegvideodata.h" #include "startcode.h" static const uint8_t table_mb_ptype[7][2] = { @@ -100,14 +99,6 @@ av_cold void ff_init_2d_vlc_rl(RLTable *rl, unsigned static_size, int flags) } } -av_cold void ff_mpeg12_common_init(MpegEncContext *s) -{ - - s->y_dc_scale_table = - s->c_dc_scale_table = ff_mpeg2_dc_scale_table[s->intra_dc_precision]; - -} - void ff_mpeg1_clean_buffers(MpegEncContext *s) { s->last_dc[0] = 1 << (7 + s->intra_dc_precision); |