aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avrndec.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2015-07-28 11:34:52 +0200
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2015-08-19 14:05:32 +0200
commit8813d55fa5978660d9f4e7dbe1f50da9922be08d (patch)
tree900c2a41e37416643968aca5f36f3dc288114480 /libavcodec/avrndec.c
parentbabd340f584988446ef578e7dbc7064b19804f81 (diff)
downloadffmpeg-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/avrndec.c')
0 files changed, 0 insertions, 0 deletions