projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b2c61f
)
radeon/uvd: fix MJPEG quantization table index
author
Leo Liu
<leo.liu@amd.com>
Fri, 25 Aug 2017 17:17:40 +0000
(13:17 -0400)
committer
Leo Liu
<leo.liu@amd.com>
Sun, 3 Sep 2017 01:33:11 +0000
(21:33 -0400)
Fixes: 130d1f456b8 ("radeon/uvd: reconstruct MJPEG bitstream")
Signed-off-by: Leo Liu <leo.liu@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/radeon_uvd.c
b/src/gallium/drivers/radeon/radeon_uvd.c
index 648a493b59cdcbd551fc5335b0e1c4f34930c171..228f654af1b7538ed577335e0565be24c31ace1c 100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_uvd.c
+++ b/
src/gallium/drivers/radeon/radeon_uvd.c
@@
-969,7
+969,7
@@
static void get_mjpeg_slice_header(struct ruvd_decoder *dec, struct pipe_mjpeg_p
continue;
buf[size++] = i;
- memcpy((buf + size), &pic->quantization_table.quantiser_table, 64);
+ memcpy((buf + size), &pic->quantization_table.quantiser_table
[i]
, 64);
size += 64;
}