diff options
author | wm4 <wm4@nowhere> | 2014-03-29 03:32:56 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-29 03:40:49 +0100 |
commit | d27613b690e636dfa2c46b40714a4bf8a2110537 (patch) | |
tree | 055d140a01b1e3e9bf963d243f53399bea1538f4 /video | |
parent | bd0618f01f1331c1ba0a3b2bb65975b5a21fe2e2 (diff) | |
download | mpv-d27613b690e636dfa2c46b40714a4bf8a2110537.tar.bz2 mpv-d27613b690e636dfa2c46b40714a4bf8a2110537.tar.xz |
Fix compilation on OSX and win32
Probably.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_corevideo.c | 1 | ||||
-rw-r--r-- | video/out/vo_direct3d.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/video/out/vo_corevideo.c b/video/out/vo_corevideo.c index 16189920a2..928fc099e9 100644 --- a/video/out/vo_corevideo.c +++ b/video/out/vo_corevideo.c @@ -256,7 +256,6 @@ static void apply_csp(struct vo *vo, CVPixelBufferRef pbuf) static void get_colorspace(struct vo *vo, struct mp_image_params *p) { - struct priv *p = vo->priv; if (vo->params && get_cv_csp_matrix(vo->params->colorspace)) p->colorspace = vo->params->colorspace; } diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c index 6d431cf0bb..d4100066d5 100644 --- a/video/out/vo_direct3d.c +++ b/video/out/vo_direct3d.c @@ -1284,7 +1284,7 @@ static int reconfig(struct vo *vo, struct mp_image_params *params, int flags) priv->src_width = params->w; priv->src_height = params->h; - priv->params = params; + priv->params = *params; init_rendering_mode(priv, params->imgfmt, true); } |