Browse Source

Revert "vaapi: return early from ff_vaapi_render_picture() without picture"

This reverts commit 4cbf245f2a.

I messed up the author information.
tags/n2.0
Carl Eugen Hoyos 12 years ago
parent
commit
28bf0d94aa
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      libavcodec/vaapi.c

+ 0
- 3
libavcodec/vaapi.c View File

@@ -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;



Loading…
Cancel
Save