diff options
author | Måns Rullgård <mans@mansr.com> | 2010-08-24 17:47:05 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-08-24 17:47:05 +0000 |
commit | c0ec9918b066c6bfca8613ac75b589bd3e405971 (patch) | |
tree | d037260d347ffce71a1ccdbaca81174e190a25d1 /libavcodec/arm | |
parent | 3611c45ab757d03cf3878af62ca1c19ae8386037 (diff) | |
download | ffmpeg-c0ec9918b066c6bfca8613ac75b589bd3e405971.tar.gz |
Remove global mm_flags variable
Originally committed as revision 24909 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm')
-rw-r--r-- | libavcodec/arm/dsputil_iwmmxt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/arm/dsputil_iwmmxt.c b/libavcodec/arm/dsputil_iwmmxt.c index 6a23732e33..a23ccfc58f 100644 --- a/libavcodec/arm/dsputil_iwmmxt.c +++ b/libavcodec/arm/dsputil_iwmmxt.c @@ -150,10 +150,11 @@ static void nop(uint8_t *block, const uint8_t *pixels, int line_size, int h) /* A run time test is not simple. If this file is compiled in * then we should install the functions */ -int mm_flags = FF_MM_IWMMXT; /* multimedia extension flags */ void ff_dsputil_init_iwmmxt(DSPContext* c, AVCodecContext *avctx) { + int mm_flags = FF_MM_IWMMXT; /* multimedia extension flags */ + if (avctx->dsp_mask) { if (avctx->dsp_mask & FF_MM_FORCE) mm_flags |= (avctx->dsp_mask & 0xffff); |