hwdec: whitespace cleanup in hwdec_drmprime_drm.c

This commit is contained in:
Anton Kindestam 2017-11-10 08:54:53 +01:00 committed by Jan Ekström
parent eb46d46e73
commit 04e5fbde43
1 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ struct priv {
struct mp_log *log;
struct mp_image_params params;
struct drm_atomic_context *ctx;
struct drm_frame current_frame, old_frame;
@ -182,7 +182,7 @@ static int overlay_frame(struct ra_hwdec *hw, struct mp_image *hw_image,
set_current_frame(hw, &next_frame);
return 0;
fail:
drm_prime_destroy_framebuffer(p->log, p->ctx->fd, &next_frame.fb);
return ret;