aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/async.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-08 13:06:54 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-08-10 18:49:35 +0200
commit3443330b172af9b45e11ecc3af4351a023f83d9c (patch)
treee94b3dd9e53e9c132a825f365dcd65d4d7ed0e52 /libavformat/async.c
parent300e31457a42a4b618b6cecab65acbcc5632cb16 (diff)
downloadffmpeg-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 'libavformat/async.c')
0 files changed, 0 insertions, 0 deletions