aboutsummaryrefslogtreecommitdiff
path: root/lib/ffmpeg/libavcodec
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2013-06-17 22:25:59 +0200
committerMemphiz <memphis@machzwo.de>2013-06-17 22:25:59 +0200
commit6a5c12ebdfe96acf01b9c42d4b123e1372b39b95 (patch)
tree2deeddb936d5416346e3833a73c550c9e534331b /lib/ffmpeg/libavcodec
parent7e42adf710187062b8ecf44a9ac2036a1f5474be (diff)
Revert "ffmpeg: fixup compile error in patch"
This reverts commit fcbc5e9a2a320c0b3bb6d6555143e863f1db3158.
Diffstat (limited to 'lib/ffmpeg/libavcodec')
-rw-r--r--lib/ffmpeg/libavcodec/vaapi.c2
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;
}