Commit c841d02c authored by Mickaël Raulet's avatar Mickaël Raulet Committed by Michael Niedermayer

hevc: fix PPS_A_qualcomm_7(cherry picked from commit 2af177a8761c88eb477a658eebcf4264068aa773)

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2e9b79fc
......@@ -209,7 +209,12 @@ static void FUNC(intra_pred)(HEVCContext *s, int x0, int y0, int log2_size, int
j = 0;
while (j < size_max_x && !IS_INTRA(j, -1)) j++;
if (j > 0)
EXTEND_LEFT_CIP(top, j, j+1);
if (x0 > 0) {
EXTEND_LEFT_CIP(top, j, j+1);
} else {
EXTEND_LEFT_CIP(top, j, j);
top[-1] = top[0];
}
left[-1] = top[-1];
j = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment