summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264pred.c
diff options
context:
space:
mode:
authorYogender Kumar Gupta <yogender.gupta@gmail.com>2014-03-18 16:01:15 +0530
committerMichael Niedermayer <michaelni@gmx.at>2014-03-18 20:37:26 +0100
commit6f7ca1f55be1270e0d7c33409de4473e4dd00add (patch)
treeebf109047e5c102406ab235df86eb980461a9dd2 /libavcodec/h264pred.c
parent7ab315ec69018dd38fb851788053a74c5763d26e (diff)
downloadffmpeg-streaming-6f7ca1f55be1270e0d7c33409de4473e4dd00add.zip
ffmpeg-streaming-6f7ca1f55be1270e0d7c33409de4473e4dd00add.tar.gz
avcodec/h264: fix Lossless Decoding (Profile 244) for 8x8 Intra Prediction
This is limited to the case where x264_build = -1, to not break x264 decoding Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264pred.c')
-rw-r--r--libavcodec/h264pred.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264pred.c b/libavcodec/h264pred.c
index 3fc3bc7..49a19da 100644
--- a/libavcodec/h264pred.c
+++ b/libavcodec/h264pred.c
@@ -558,6 +558,8 @@ av_cold void ff_h264_pred_init(H264PredContext *h, int codec_id,
h->pred4x4_add [ HOR_PRED ]= FUNCC(pred4x4_horizontal_add , depth);\
h->pred8x8l_add [VERT_PRED ]= FUNCC(pred8x8l_vertical_add , depth);\
h->pred8x8l_add [ HOR_PRED ]= FUNCC(pred8x8l_horizontal_add , depth);\
+ h->pred8x8l_filter_add [VERT_PRED ]= FUNCC(pred8x8l_vertical_filter_add , depth);\
+ h->pred8x8l_filter_add [ HOR_PRED ]= FUNCC(pred8x8l_horizontal_filter_add , depth);\
if (chroma_format_idc <= 1) {\
h->pred8x8_add [VERT_PRED8x8]= FUNCC(pred8x8_vertical_add , depth);\
h->pred8x8_add [ HOR_PRED8x8]= FUNCC(pred8x8_horizontal_add , depth);\
OpenPOWER on IntegriCloud