1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Mickaël Raulet 2013-10-19 17:03:59 +02:00 committed by Michael Niedermayer
parent 2e9b79fc00
commit c841d02c05

View File

@ -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;
}