summaryrefslogtreecommitdiffstats
path: root/libmenu
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-05-29 17:15:55 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-05-29 17:20:44 +0300
commit1888e57af7e1ce51517ad9bdc2d201eaf84a98d2 (patch)
treef1c87c4a44a38ee5d2adc35719beec3c3213c723 /libmenu
parentba5f104836b487d70b0ab107fb7a1325566504ad (diff)
downloadmpv-1888e57af7e1ce51517ad9bdc2d201eaf84a98d2.tar.bz2
mpv-1888e57af7e1ce51517ad9bdc2d201eaf84a98d2.tar.xz
cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf"
Change 'struct vf_instance' pointer arguments to more standard style as in the subject. Also some other minor formatting fixes. Patch by Diego Biurrun.
Diffstat (limited to 'libmenu')
-rw-r--r--libmenu/vf_menu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libmenu/vf_menu.c b/libmenu/vf_menu.c
index 336261d233..d068c39e5b 100644
--- a/libmenu/vf_menu.c
+++ b/libmenu/vf_menu.c
@@ -53,9 +53,9 @@ struct vf_priv_s {
int passthrough;
};
-static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts);
+static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts);
-void vf_menu_pause_update(struct vf_instance* vf) {
+void vf_menu_pause_update(struct vf_instance *vf) {
const struct vo *video_out = mpctx_get_video_out(vf->priv->current->ctx);
if(pause_mpi) {
put_image(vf,pause_mpi, MP_NOPTS_VALUE);
@@ -121,7 +121,7 @@ static int cmd_filter(mp_cmd_t* cmd, void *ctx)
return 0;
}
-static void get_image(struct vf_instance* vf, mp_image_t *mpi){
+static void get_image(struct vf_instance *vf, mp_image_t *mpi){
mp_image_t *dmpi;
if(mpi->type == MP_IMGTYPE_TEMP && (!(mpi->flags&MP_IMGFLAG_PRESERVE)) ) {
@@ -138,7 +138,7 @@ static int key_cb(int code) {
return menu_read_key(st_priv->current,code);
}
-static int put_image(struct vf_instance* vf, mp_image_t *mpi, double pts){
+static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){
mp_image_t *dmpi = NULL;
if (vf->priv->passthrough) {
@@ -214,7 +214,7 @@ static void uninit(vf_instance_t *vf) {
}
}
-static int config(struct vf_instance* vf, int width, int height, int d_width, int d_height,
+static int config(struct vf_instance *vf, int width, int height, int d_width, int d_height,
unsigned int flags, unsigned int outfmt) {
#ifdef CONFIG_FREETYPE
// here is the right place to get screen dimensions
@@ -228,7 +228,7 @@ static int config(struct vf_instance* vf, int width, int height, int d_width, in
return vf_next_config(vf,width,height,d_width,d_height,flags,outfmt);
}
-static int query_format(struct vf_instance* vf, unsigned int fmt){
+static int query_format(struct vf_instance *vf, unsigned int fmt){
return vf_next_query_format(vf, fmt);
}