diff options
-rw-r--r-- | video/img_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/img_format.c b/video/img_format.c index 67ad3e2bdd..82136b5192 100644 --- a/video/img_format.c +++ b/video/img_format.c @@ -271,7 +271,7 @@ struct mp_imgfmt_desc mp_imgfmt_get_desc(int mpfmt) if (desc.flags & (MP_IMGFLAG_YUV_P | MP_IMGFLAG_RGB_P | MP_IMGFLAG_YUV_NV)) { desc.component_bits += shift; - desc.component_full_bits = (desc.component_bits + shift + 7) / 8 * 8; + desc.component_full_bits = (desc.component_bits + 7) / 8 * 8; } } |