[FFmpeg-devel] [PATCH 2/2] vaapi: reindent after check for valid buffer
Joakim Plate
elupus at ecce.se
Mon May 27 20:50:51 CEST 2013
---
libavcodec/vaapi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vaapi.c b/libavcodec/vaapi.c
index 3e203d6..8791509 100644
--- a/libavcodec/vaapi.c
+++ b/libavcodec/vaapi.c
@@ -47,8 +47,8 @@ int ff_vaapi_render_picture(struct vaapi_context *vactx, VASurfaceID surface)
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;
+ vaUnmapBuffer(vactx->display, vactx->pic_param_buf_id);
+ va_buffers[n_va_buffers++] = vactx->pic_param_buf_id;
}
if (vactx->iq_matrix_buf_id) {
--
1.8.2
More information about the ffmpeg-devel
mailing list