diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-08 13:06:54 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-10 18:49:35 +0200 |
commit | 3443330b172af9b45e11ecc3af4351a023f83d9c (patch) | |
tree | e94b3dd9e53e9c132a825f365dcd65d4d7ed0e52 /libavutil/lfg.c | |
parent | 300e31457a42a4b618b6cecab65acbcc5632cb16 (diff) | |
download | ffmpeg-3443330b172af9b45e11ecc3af4351a023f83d9c.tar.gz |
avcodec/mpegvideo: Move setting mb_height to ff_mpv_init_context_frame
It is the proper place to set it, directly besides mb_width and
mb_stride. The reason for doing it the way it is done now seems
to be that the code does not create more slice contexts than necessary
(i.e. not more than one per row), so that this number needs to be
known before setting the number of slices. But this can always be
arranged by just moving the code that sets the number of slices.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/lfg.c')
0 files changed, 0 insertions, 0 deletions