aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/webvttdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-04-21 01:26:27 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-06-12 11:05:12 +0200
commita95591dbfde3a9347cdfe6537243957e65d2d8ea (patch)
tree34b67d1eeb442a8fe8d68e7dac530841dfde80ee /libavcodec/webvttdec.c
parent7ad13e173bf271d05341f007a467430bae82b392 (diff)
downloadffmpeg-a95591dbfde3a9347cdfe6537243957e65d2d8ea.tar.gz
avcodec/mpegvideo: Redo aligning mb_height for VC-1
VC-1 can switch from between being progressive and interlaced on a per-frame basis. In the latter case, the number of macroblocks is aligned to two (or equivalently, the height to 32); therefore certain buffers are allocated for the bigger mb_height (see 950fb8acb42f4dab9b1638721992991c0584dbf5 and 017e234c204f8ffb5f85a073231247881be1ac6f). This commit changes how this is done: Aligning these buffers is restricted to VC-1 and it is done directly by aligning mb_height (but not MpegEncContext.mb_height) instead of adding something in an ad-hoc manner. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/webvttdec.c')
0 files changed, 0 insertions, 0 deletions