diff --git a/rem/vid/frame.c b/rem/vid/frame.c index 4233d23e2..2ce7f46ce 100644 --- a/rem/vid/frame.c +++ b/rem/vid/frame.c @@ -64,6 +64,8 @@ void vidframe_init(struct vidframe *vf, enum vidfmt fmt, vf->size = *sz; vf->fmt = fmt; + vf->xoffs = 0; + vf->yoffs = 0; } @@ -156,6 +158,8 @@ void vidframe_init_buf(struct vidframe *vf, enum vidfmt fmt, vf->size = *sz; vf->fmt = fmt; + vf->xoffs = 0; + vf->yoffs = 0; }