summaryrefslogtreecommitdiff
path: root/libavcodec/mlib
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-07-21 10:05:15 +0100
committerMans Rullgard <mans@mansr.com>2011-07-21 18:10:58 +0100
commita617c6aaa3e6c0201c9ea31d319808273efd78b0 (patch)
treec06520c63d41255842e201178bf395c6cf893e43 /libavcodec/mlib
parent874f1a901d9f2d1d6825be309ed046abc7672b03 (diff)
dsputil: update per-arch init funcs for non-h264 high bit depth
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/mlib')
-rw-r--r--libavcodec/mlib/dsputil_mlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mlib/dsputil_mlib.c b/libavcodec/mlib/dsputil_mlib.c
index b915ffeb20..bfa5153def 100644
--- a/libavcodec/mlib/dsputil_mlib.c
+++ b/libavcodec/mlib/dsputil_mlib.c
@@ -421,7 +421,7 @@ static void ff_fdct_mlib(DCTELEM *data)
void dsputil_init_mlib(DSPContext* c, AVCodecContext *avctx)
{
- const int high_bit_depth = avctx->codec_id == CODEC_ID_H264 && avctx->bits_per_raw_sample > 8;
+ const int high_bit_depth = avctx->bits_per_raw_sample > 8;
c->diff_pixels = diff_pixels_mlib;
c->add_pixels_clamped = add_pixels_clamped_mlib;