mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-05-01 20:16:53 +08:00
Merge remote-tracking branch 'qatar/master'
* qatar/master: x86: Move some conditional code around to avoid unused variable warnings Conflicts: libavcodec/x86/dsputil_mmx.c libavfilter/x86/vf_yadif_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -947,9 +947,10 @@ hadamard_func(ssse3)
|
||||
av_cold void ff_dsputilenc_init_mmx(DSPContext *c, AVCodecContext *avctx)
|
||||
{
|
||||
int mm_flags = av_get_cpu_flags();
|
||||
int bit_depth = avctx->bits_per_raw_sample;
|
||||
|
||||
#if HAVE_YASM
|
||||
int bit_depth = avctx->bits_per_raw_sample;
|
||||
|
||||
if (EXTERNAL_MMX(mm_flags)) {
|
||||
if (bit_depth <= 8)
|
||||
c->get_pixels = ff_get_pixels_mmx;
|
||||
|
||||
Reference in New Issue
Block a user