• Yaowu Xu's avatar
    Correct the miscalculation in uv dimensions · 4bca73b6
    Yaowu Xu authored
    The calculation of required extension used in HBD case was wrong due
    to rounding for UV when y dimension is odd. This commit replace the
    computation with correct version.
    This fixes a crash caused by writting beyond buffer boundary.
    Change-Id: Ic7c9afeb7388cd1341ec4974a611dacfb74ac6b6
yv12extend.c 10.4 KB