mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
dsputil: unbreak compilation on sparc after 6802c70
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7e1efeb570
commit
49a514c13e
@ -49,6 +49,7 @@ av_cold void ff_dsputil_init_vis(DSPContext *c, AVCodecContext *avctx)
|
|||||||
{
|
{
|
||||||
/* VIS-specific optimizations */
|
/* VIS-specific optimizations */
|
||||||
int accel = vis_level ();
|
int accel = vis_level ();
|
||||||
|
const int high_bit_depth = avctx->bits_per_raw_sample > 8;
|
||||||
|
|
||||||
if (accel & ACCEL_SPARC_VIS && !high_bit_depth) {
|
if (accel & ACCEL_SPARC_VIS && !high_bit_depth) {
|
||||||
if (avctx->idct_algo == FF_IDCT_SIMPLEVIS) {
|
if (avctx->idct_algo == FF_IDCT_SIMPLEVIS) {
|
||||||
|
Loading…
Reference in New Issue
Block a user