Skip to content

Commit

Permalink
rem/vid/frame: fix vidframe init
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jan 8, 2025
1 parent 816dc5a commit 958e0e2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rem/vid/frame.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down Expand Up @@ -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;
}


Expand Down

0 comments on commit 958e0e2

Please sign in to comment.