fixup! lavu: add RKMPP hwcontext

fix the rga fully-planar alignment regression.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
nyanmisaka 2024-05-30 11:11:35 +08:00
parent 2093e2b984
commit 9efe5bcff0

View file

@ -182,7 +182,7 @@ static int rkmpp_get_aligned_linesize(enum AVPixelFormat pix_fmt, int width, int
const int pixel_width = av_get_padded_bits_per_pixel(pixdesc) / 8;
linesize = FFALIGN(linesize / pixel_width, 8) * pixel_width;
} else if (is_yuv && is_fully_planar) {
linesize = FFALIGN(linesize, 16);
linesize = FFALIGN(linesize, 8);
} else
linesize = FFALIGN(linesize, 64);