diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-06-18 01:54:30 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-06-18 01:54:30 +0200 |
commit | 28bf0d94aaf577e3ff593cfaa831f467cf2568e2 (patch) | |
tree | e3032f28f16e98a087bf2faf1a2967e02de21ce5 /libavcodec | |
parent | 3cbf245f2a2cd2170ca30b0788c2af5b506fe6d6 (diff) | |
download | ffmpeg-28bf0d94aaf577e3ff593cfaa831f467cf2568e2.tar.gz |
Revert "vaapi: return early from ff_vaapi_render_picture() without picture"
This reverts commit 4cbf245f2a2cd2170ca30b0788c2af5b506fe6d6.
I messed up the author information.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vaapi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/vaapi.c b/libavcodec/vaapi.c index 94959bf5ed..a220a9d3c2 100644 --- a/libavcodec/vaapi.c +++ b/libavcodec/vaapi.c @@ -46,9 +46,6 @@ 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) - return 0; - vaUnmapBuffer(vactx->display, vactx->pic_param_buf_id); va_buffers[n_va_buffers++] = vactx->pic_param_buf_id; |