Using ff_mspel_motion assumes that s (a MpegEncContext poiinter) really is a Wmv2Context. This fixes crashes in error resilience on vc1/wmv3 videos. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st> (cherry picked from committags/n0.6.718f2d5cb9c) Signed-off-by: Anton Khirnov <anton@khirnov.net> (cherry picked from commitda0c457663) Signed-off-by: Anton Khirnov <anton@khirnov.net> (cherry picked from commit899d95efe1) Signed-off-by: Anton Khirnov <anton@khirnov.net>