Commit 49a514c1 authored by Hendrik Leppkes's avatar Hendrik Leppkes Committed by Michael Niedermayer

dsputil: unbreak compilation on sparc after 6802c701

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7e1efeb5
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment