diff options
author | Mickaƫl Raulet <mraulet@insa-rennes.fr> | 2013-10-19 17:03:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-20 11:08:32 +0200 |
commit | c841d02c056f4315ccd11dc7213a10988ed99ac8 (patch) | |
tree | 035cbf7bbd9b7fcd62ece4c4bf2c2e311640b6e7 /libavcodec/hevcpred_template.c | |
parent | 2e9b79fc003f19c65f4fd6ef30748c1916ed4fa7 (diff) | |
download | ffmpeg-c841d02c056f4315ccd11dc7213a10988ed99ac8.tar.gz |
hevc: fix PPS_A_qualcomm_7(cherry picked from commit 2af177a8761c88eb477a658eebcf4264068aa773)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevcpred_template.c')
-rw-r--r-- | libavcodec/hevcpred_template.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libavcodec/hevcpred_template.c b/libavcodec/hevcpred_template.c index 53cad42771..30f7a51181 100644 --- a/libavcodec/hevcpred_template.c +++ b/libavcodec/hevcpred_template.c @@ -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; } |