diff options
Diffstat (limited to 'lib/ffmpeg/libavcodec/vaapi.c')
-rw-r--r-- | lib/ffmpeg/libavcodec/vaapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffmpeg/libavcodec/vaapi.c b/lib/ffmpeg/libavcodec/vaapi.c index 3e203d66c5..b991cde782 100644 --- a/lib/ffmpeg/libavcodec/vaapi.c +++ b/lib/ffmpeg/libavcodec/vaapi.c @@ -46,7 +46,7 @@ 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) { + if (vactx->pic_param_buf_id) vaUnmapBuffer(vactx->display, vactx->pic_param_buf_id); va_buffers[n_va_buffers++] = vactx->pic_param_buf_id; } |