diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-24 05:49:44 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-25 03:34:22 +0300 |
commit | 0e757bf9daa55db9fa7052efe5aef09f90044054 (patch) | |
tree | 2d4588bee5aab5d07d6f95879413db5dacbeb04d /libmpcodecs/ve_raw.c | |
parent | 6f971b635434609e69d7c326b1f3eded88d2caf2 (diff) | |
download | mpv-0e757bf9daa55db9fa7052efe5aef09f90044054.tar.bz2 mpv-0e757bf9daa55db9fa7052efe5aef09f90044054.tar.xz |
Remove _s/_st suffix from some struct names
Since the names are always used after the keyword "struct" having a
suffix as in "struct demuxer_st" is almost completely pointless.
Diffstat (limited to 'libmpcodecs/ve_raw.c')
-rw-r--r-- | libmpcodecs/ve_raw.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmpcodecs/ve_raw.c b/libmpcodecs/ve_raw.c index 691d1c11d5..d0f54df81b 100644 --- a/libmpcodecs/ve_raw.c +++ b/libmpcodecs/ve_raw.c @@ -26,7 +26,7 @@ struct vf_priv_s { }; #define mux_v (vf->priv->mux) -static int set_format(struct vf_instance_s *vf, unsigned int fmt) { +static int set_format(struct vf_instance *vf, unsigned int fmt) { mux_v->bih->biCompression = fmt; mux_v->bih->biPlanes = 1; @@ -81,7 +81,7 @@ static int set_format(struct vf_instance_s *vf, unsigned int fmt) { } -static int config(struct vf_instance_s *vf, +static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height, unsigned int flags, unsigned int outfmt) { @@ -96,11 +96,11 @@ static int config(struct vf_instance_s *vf, return 1; } -static int control(struct vf_instance_s *vf, int request, void *data) { +static int control(struct vf_instance *vf, int request, void *data) { return CONTROL_UNKNOWN; } -static int query_format(struct vf_instance_s *vf, unsigned int fmt) { +static int query_format(struct vf_instance *vf, unsigned int fmt) { if (IMGFMT_IS_RGB(fmt) || IMGFMT_IS_BGR(fmt)) return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW; switch (fmt) { @@ -121,7 +121,7 @@ static int query_format(struct vf_instance_s *vf, unsigned int fmt) { return 0; } -static int put_image(struct vf_instance_s *vf, mp_image_t *mpi, double pts) { +static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts) { mux_v->buffer = mpi->planes[0]; muxer_write_chunk(mux_v, mpi->width*mpi->height*mux_v->bih->biBitCount/8, 0x10, pts, pts); return 1; |