vc1dec.c: Don't use uninitialized values of dmv_[x, y]
authorMashiat Sarker Shakkhar <shahriman_ams@yahoo.com>
Thu, 26 Jan 2012 23:53:24 +0000 (15:53 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 27 Jan 2012 01:24:13 +0000 (09:24 +0800)
commitd51d6ae9c41310d62f4582c07c2fad26d41eeca6
tree15252eefdda10126a354fc67214ed06cf9785f0e
parentfc115c80b7bf6f1f5a937ee7f6e14630d99eb4dd
vc1dec.c: Don't use uninitialized values of dmv_[x, y]

MVDATA may or may not be transmitted. If it is not, both
dmv_x and dmv_y is to be assumed zero.

This may not trigger wrong picture in all systems, but
it's a bug nevertheless. Fixes SA10116.vc1 on my 64-bit
Windows 7.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/vc1dec.c