aboutsummaryrefslogtreecommitdiff
path: root/lib/ffmpeg/patches/0038-vaapi-don-t-unmap-non-existing-buffer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ffmpeg/patches/0038-vaapi-don-t-unmap-non-existing-buffer.patch')
-rw-r--r--lib/ffmpeg/patches/0038-vaapi-don-t-unmap-non-existing-buffer.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ffmpeg/patches/0038-vaapi-don-t-unmap-non-existing-buffer.patch b/lib/ffmpeg/patches/0038-vaapi-don-t-unmap-non-existing-buffer.patch
index 0724a861f4..e1549d6a26 100644
--- a/lib/ffmpeg/patches/0038-vaapi-don-t-unmap-non-existing-buffer.patch
+++ b/lib/ffmpeg/patches/0038-vaapi-don-t-unmap-non-existing-buffer.patch
@@ -18,7 +18,7 @@ index a220a9d..b991cde 100644
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;
+ }