diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2015-07-28 11:34:52 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2015-08-19 14:05:32 +0200 |
commit | 8813d55fa5978660d9f4e7dbe1f50da9922be08d (patch) | |
tree | 900c2a41e37416643968aca5f36f3dc288114480 /libavcodec/xbmenc.c | |
parent | babd340f584988446ef578e7dbc7064b19804f81 (diff) | |
download | ffmpeg-8813d55fa5978660d9f4e7dbe1f50da9922be08d.tar.gz |
vaapi: fix usage of invalid buffer ids.
Invalid buffer ids are defined by VA_INVALID_ID. Use that through out
vaapi_*.c support files now that we have private data initialized and
managed by libavcodec. Previously, the only requirement for the public
vaapi_context struct was to be zero-initialized.
This fixes support for 3rdparty VA drivers that strictly conform to
the API whereby an invalid buffer id is VA_INVALID_ID and the first
valid buffer id can actually be zero.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'libavcodec/xbmenc.c')
0 files changed, 0 insertions, 0 deletions