diff options
author | Kai Wasserbäch <kai@dev.carbon-project.org> | 2016-08-20 18:14:54 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2016-08-24 10:35:53 +0200 |
commit | f033d971557082ce716f5b722df0d923a265678e (patch) | |
tree | e40a0218d0249a6e32fd7deb896f076d11ef1169 | |
parent | 83d08d4cab1cd6577dd304e6f8acead4076ccf5d (diff) |
st/va: Remove unused variable coded_size from vlVaEndPicture()
Removes the following GCC warning:
../../../../../src/gallium/state_trackers/va/picture.c:542:17: warning:
unused variable 'coded_size' [-Wunused-variable]
unsigned int coded_size;
^~~~~~~~~~
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Boyuan Zhang <boyuan.zhang@amd.com>
-rw-r--r-- | src/gallium/state_trackers/va/picture.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c index bbb559561f7..a283e8307bf 100644 --- a/src/gallium/state_trackers/va/picture.c +++ b/src/gallium/state_trackers/va/picture.c @@ -539,7 +539,6 @@ vlVaEndPicture(VADriverContextP ctx, VAContextID context_id) vlVaContext *context; vlVaBuffer *coded_buf; vlVaSurface *surf; - unsigned int coded_size; void *feedback; if (!ctx) |