Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "vaapi: don't unmap non-existing buffer"

This reverts commit c159743.
  • Loading branch information...
commit 4b316e65cd0440ae25238ac5cce5c4dd3fccd16a 1 parent 6a5c12e
@Memphiz Memphiz authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  lib/ffmpeg/libavcodec/vaapi.c
View
2  lib/ffmpeg/libavcodec/vaapi.c
@@ -46,10 +46,8 @@ int ff_vaapi_render_picture(struct vaapi_context *vactx, VASurfaceID surface)
VABufferID va_buffers[3];
unsigned int n_va_buffers = 0;
- if (vactx->pic_param_buf_id)
vaUnmapBuffer(vactx->display, vactx->pic_param_buf_id);
va_buffers[n_va_buffers++] = vactx->pic_param_buf_id;
- }
if (vactx->iq_matrix_buf_id) {
vaUnmapBuffer(vactx->display, vactx->iq_matrix_buf_id);
Please sign in to comment.
Something went wrong with that request. Please try again.