Re: [FFmpeg-devel] PATH :wmv2 Limit the mvx and mvy to be integer in some condition

2014-10-15 Thread Michael Niedermayer
Hi On Wed, Oct 15, 2014 at 11:44:18AM +, Di Wu wrote: > Hi : > I have created a patch, but I'm not sure if the patch is correct > because I don't have the spec of wmv2. > The following code which is in ff_mspel_motion function seems to > limit the mvx and mvy to be integer to make su

Re: [FFmpeg-devel] PATH :wmv2 Limit the mvx and mvy to be integer in some condition

2014-10-15 Thread compn
On Wed, 15 Oct 2014 11:44:18 + (GMT) Di Wu wrote: > Hi : > I have created a patch, but I'm not sure if the patch is correct > because I don't have the spec of wmv2. the only msmpeg4 "specs" i can remember are http://ffmpeg.org/~michael/msmpeg4.txt and http://wiki.multimedia.cx/index.php

[FFmpeg-devel] PATH :wmv2 Limit the mvx and mvy to be integer in some condition

2014-10-15 Thread Di Wu
Hi : I have created a patch, but I'm not sure if the patch is correct because I don't have the spec of wmv2. The following code which is in ff_mspel_motion function seems to limit the mvx and mvy to be integer to make sure the prediction right and to void reading overflow. But I'm not su