summaryrefslogtreecommitdiff
path: root/libavcodec/h264_mb_template.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-28 20:38:41 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-28 21:01:54 +0100
commit07abf13da4a7c3d23ce6bc6542d72e6252161736 (patch)
treee9fac6b420033b7c254f3fa583fd7ca74f61ba23 /libavcodec/h264_mb_template.c
parent507956824c642e44b0ab7af669a2700c9e57878a (diff)
h264: avoid a grayscale related if() in hl_decode_mb()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_mb_template.c')
-rw-r--r--libavcodec/h264_mb_template.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h264_mb_template.c b/libavcodec/h264_mb_template.c
index b6adbf7ceb..a11009412c 100644
--- a/libavcodec/h264_mb_template.c
+++ b/libavcodec/h264_mb_template.c
@@ -159,10 +159,8 @@ static av_noinline void FUNC(hl_decode_mb)(H264Context *h)
uvlinesize, 1, 0, SIMPLE, PIXEL_SHIFT);
if (SIMPLE || !CONFIG_GRAY || !(s->flags & CODEC_FLAG_GRAY)) {
- if (CHROMA) {
h->hpc.pred8x8[h->chroma_pred_mode](dest_cb, uvlinesize);
h->hpc.pred8x8[h->chroma_pred_mode](dest_cr, uvlinesize);
- }
}
hl_decode_mb_predict_luma(h, mb_type, is_h264, SIMPLE,