summaryrefslogtreecommitdiffstats
path: root/libavcodec/hevcpred.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/hevcpred.c')
-rw-r--r--libavcodec/hevcpred.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/hevcpred.c b/libavcodec/hevcpred.c
index 1121f30..1ba2487 100644
--- a/libavcodec/hevcpred.c
+++ b/libavcodec/hevcpred.c
@@ -40,7 +40,10 @@ void ff_hevc_pred_init(HEVCPredContext *hpc, int bit_depth)
#define FUNC(a, depth) a ## _ ## depth
#define HEVC_PRED(depth) \
- hpc->intra_pred = FUNC(intra_pred, depth); \
+ hpc->intra_pred[0] = FUNC(intra_pred_2, depth); \
+ hpc->intra_pred[1] = FUNC(intra_pred_3, depth); \
+ hpc->intra_pred[2] = FUNC(intra_pred_4, depth); \
+ hpc->intra_pred[3] = FUNC(intra_pred_5, depth); \
hpc->pred_planar[0] = FUNC(pred_planar_0, depth); \
hpc->pred_planar[1] = FUNC(pred_planar_1, depth); \
hpc->pred_planar[2] = FUNC(pred_planar_2, depth); \
OpenPOWER on IntegriCloud