mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-24 09:30:29 +01:00
radeon/uvd: fix MJPEG quantization table index
Fixes: 130d1f456b ("radeon/uvd: reconstruct MJPEG bitstream")
Signed-off-by: Leo Liu <leo.liu@amd.com>
This commit is contained in:
parent
2b2c61f0df
commit
3b02a8e9dd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue