OSDN Git Service

x86: dsputil: kill VLA in gmc_mmx()
authorMans Rullgard <mans@mansr.com>
Wed, 3 Oct 2012 21:53:00 +0000 (22:53 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 5 Oct 2012 21:33:32 +0000 (22:33 +0100)
commitbcf07a15a0aea23d2aa3eb71ea6ec7b3d21892ac
tree51c27f8a51d07b7ba7b9a3a8b8b920dd4693b614
parentf1c6a740fcb9ea0a977855bb708c0541149fa9cf
x86: dsputil: kill VLA in gmc_mmx()

Instead of using an evil VLA, fall back to C version when edge
emulation is needed.  MPEG4 GMC is a rarely used fringe feature
so the speed loss is an acceptable cost for safer code.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/x86/dsputil_mmx.c