vo_opengl: vaapi: remove unnecessary loop
Not sure what I was thinking.
This commit is contained in:
1 parent
5786d07450
commit
ec356d3efe
1 file changed
+1
-2
@@ -109,8 +109,7 @@ static int create(struct gl_hwdec *hw)
|
||||
|
||||
struct priv *p = talloc_zero(hw, struct priv);
|
||||
hw->priv = p;
|
||||
for (int n = 0; n < 4; n++)
|
||||
p->current_image.buf = p->current_image.image_id = VA_INVALID_ID;
|
||||
p->current_image.buf = p->current_image.image_id = VA_INVALID_ID;
|
||||
p->log = hw->log;
|
||||
p->xdisplay = x11disp;
|
||||
p->display = vaGetDisplay(x11disp);
|
||||
|
||||
Reference in new issue
Block a user