aboutsummaryrefslogtreecommitdiff
path: root/lib/ffmpeg/libavcodec
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2013-05-23 00:02:40 +0200
committerJoakim Plate <elupus@ecce.se>2013-05-23 00:02:40 +0200
commitfcbc5e9a2a320c0b3bb6d6555143e863f1db3158 (patch)
tree2761ce2d3e7a257694c6accace7d88639b0a7431 /lib/ffmpeg/libavcodec
parent4f47cfc9726c46ee69c72bdc4a28c15f1caea342 (diff)
ffmpeg: fixup compile error in patch
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 b991cde782..3e203d66c5 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;
}