OSDN Git Service

motion_est: make MotionExtContext.map_generation unsigned
authorMans Rullgard <mans@mansr.com>
Sun, 9 Oct 2011 19:18:34 +0000 (20:18 +0100)
committerMans Rullgard <mans@mansr.com>
Tue, 11 Oct 2011 11:05:50 +0000 (12:05 +0100)
commitcb668476ab1343d27e03edc0b32f57ca7a187471
tree2832d7c298f62d51acd5360068d00880ceefc45c
parent4c7a232fc81fdbdee279ab819a255f624a22b083
motion_est: make MotionExtContext.map_generation unsigned

The way this value is used, it should be an unsigned type.
While the numerical value has no meaning, unsigned wraparound
is relied upon.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/motion_est.c
libavcodec/motion_est_template.c
libavcodec/mpegvideo.h