# HG changeset patch # User michael # Date 1120945169 0 # Node ID 7a411f408d7435a1d1ee98f07f92d68fd4acb531 # Parent 67ea9a5a8ffff7ee20596fa901081f0c1509021e Here is the patch suggested by: unkaggregate, users sf net Main reason is: deltas in interframes need scaling by 3/4 before applying. Detailed description is at: http://sourceforge.net/tracker/index.php?func=detail&aid=1222099&group_id=16082&atid=116082 He also mentioned some samples at: http://www.nerdgrounds.com/indeo21_test/ patch posted to ffmpeg-devel by (Kostya: kostya shishkov, gmail com) diff -r 67ea9a5a8fff -r 7a411f408d74 indeo2.c --- a/indeo2.c Sat Jul 02 19:43:23 2005 +0000 +++ b/indeo2.c Sat Jul 09 21:39:29 2005 +0000 @@ -118,11 +118,11 @@ c -= 0x7F; out += c * 2; } else { /* add two deltas from table */ - t = dst[out] + (table[c * 2] - 128); + t = dst[out] + (((table[c * 2] - 128)*3) >> 2); t= clip_uint8(t); dst[out] = t; out++; - t = dst[out] + (table[(c * 2) + 1] - 128); + t = dst[out] + (((table[(c * 2) + 1] - 128)*3) >> 2); t= clip_uint8(t); dst[out] = t; out++;