diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-03-14 12:21:43 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-14 14:53:39 +0100 |
commit | 49a514c13e148a4c0984e5c03262ced69575b620 (patch) | |
tree | 12e74552d89742ced926c7d268f92258dd4a18bd /libavcodec/sparc/dsputil_vis.c | |
parent | 7e1efeb5707ec0fec000d42fa9f2861bab97bd8f (diff) | |
download | ffmpeg-49a514c13e148a4c0984e5c03262ced69575b620.tar.gz |
dsputil: unbreak compilation on sparc after 6802c70
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/sparc/dsputil_vis.c')
-rw-r--r-- | libavcodec/sparc/dsputil_vis.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/sparc/dsputil_vis.c b/libavcodec/sparc/dsputil_vis.c index cd59fa7915..9c3494bc45 100644 --- a/libavcodec/sparc/dsputil_vis.c +++ b/libavcodec/sparc/dsputil_vis.c @@ -49,6 +49,7 @@ av_cold void ff_dsputil_init_vis(DSPContext *c, AVCodecContext *avctx) { /* VIS-specific optimizations */ int accel = vis_level (); + const int high_bit_depth = avctx->bits_per_raw_sample > 8; if (accel & ACCEL_SPARC_VIS && !high_bit_depth) { if (avctx->idct_algo == FF_IDCT_SIMPLEVIS) { |