~vcs-imports/mplayer/trunk

« back to all changes in this revision

Viewing changes to libmpcodecs/ve_nuv.c

  • Committer: reimar
  • Date: 2022-08-30 20:40:03 UTC
  • Revision ID: svn-v4:b3059339-0415-0410-9bf9-f77b7e298cf2:trunk:38400
libmpcodecs/ve_*.c: fix put_image prototypes.

An extra endpts argument was added, and while none
of the encoders uses that currently, the functions
should have the proper types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
  return 0;
121
121
}
122
122
 
123
 
static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){
 
123
static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts, double endpts){
124
124
  uint8_t *header  = vf->priv->buffer;
125
125
  uint8_t* data = vf->priv->buffer + FRAMEHEADERSIZE;
126
126
  uint8_t* zdata = vf->priv->zbuffer + FRAMEHEADERSIZE;