summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-11-22 19:08:14 +0100
committerwm4 <wm4@nowhere>2013-11-22 19:08:14 +0100
commit20d354cc0cd37b85115818241aa126219f86c666 (patch)
tree535f3b6ddcb2d3dd7ff158b6636cf307987b08a0 /video
parentde22d2b1bafd2644b2ce6008f102427337796fd8 (diff)
downloadmpv-20d354cc0cd37b85115818241aa126219f86c666.tar.bz2
mpv-20d354cc0cd37b85115818241aa126219f86c666.tar.xz
vo_opengl: fix compilation
Never do a trivial change while drunk and without actually testing it.
Diffstat (limited to 'video')
-rw-r--r--video/out/vo_opengl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 10cf9c8c1d..08dd84689d 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -240,12 +240,12 @@ static void request_hwdec_api(struct mp_hwdec_info *info, const char *api_name)
static void get_hwdec_info(struct gl_priv *p, struct mp_hwdec_info *info)
{
if (p->hwdec) {
- *info = p->hwdec->info;
+ *info = *p->hwdec->info;
} else {
*info = (struct mp_hwdec_info) {
.load_api = request_hwdec_api,
.load_api_ctx = p,
- }
+ };
}
}