AMV: disable DR1 and don't override EMU_EDGE
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Apr 2011 19:10:04 +0000 (21:10 +0200)
committerReinhard Tartler <siretart@sandy.tauware.de>
Fri, 29 Apr 2011 20:46:13 +0000 (22:46 +0200)
commit7089265756a84bf884a7c2290c6cda38d4dfd60f
tree9577a2709541eb98725ce84c8ab5bbeda895df7f
parent7c152a458d3fb0a2fb1aef1f05bfee90fe70697e
AMV: disable DR1 and don't override EMU_EDGE

This works around a possibly exploitable crash.
Appearently, vlc can be exploited with a malicous file. This should get
reverted as soon as a proper fix is found.

Reported-at: Thu, 21 Apr 2011 14:38:25 +0000
Reported-by: Dominic Chell <Dominic.Chell@ngssecure.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 89f903b3d5ec38c9c5d90fba7e626fa0eda61a32)
(cherry picked from commit 9b919571e506fbb72b81a35ca1e7c1bd6efc4209)
libavcodec/sp5xdec.c