summaryrefslogtreecommitdiffstats
path: root/video/mp_image_pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/mp_image_pool.c')
-rw-r--r--video/mp_image_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/mp_image_pool.c b/video/mp_image_pool.c
index 8aa584b33e..2a4a8940c0 100644
--- a/video/mp_image_pool.c
+++ b/video/mp_image_pool.c
@@ -325,7 +325,7 @@ bool mp_image_hw_upload(struct mp_image *hw_img, struct mp_image *src)
if (hw_img->w != src->w || hw_img->h != src->h)
return false;
- if (!hw_img->hwctx || src->hwctx)
+ if (!hw_img->hwctx)
return false;
bool ok = false;