diff options
Diffstat (limited to 'video/mp_image.c')
-rw-r--r-- | video/mp_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/mp_image.c b/video/mp_image.c index f846b0d3d3..74ca80db21 100644 --- a/video/mp_image.c +++ b/video/mp_image.c @@ -174,7 +174,7 @@ static bool mp_image_alloc_planes(struct mp_image *mpi) assert(!mpi->planes[0]); assert(!mpi->bufs[0]); - int align = SWS_MIN_BYTE_ALIGN; + int align = MP_IMAGE_BYTE_ALIGN; int size = mp_image_get_alloc_size(mpi->imgfmt, mpi->w, mpi->h, align); if (size < 0) |