projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9c8a8f
)
radeon/uvd: silence a warning
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 10 Feb 2016 19:15:07 +0000
(20:15 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 10 Feb 2016 19:16:17 +0000
(20:16 +0100)
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 1f5a16aaca6fc8c920a0485a62721d57e22175ed..367aabc7a182cdb2920f99d03ee70231eaf02474 100644
(file)
--- a/
src/gallium/drivers/radeon/radeon_uvd.c
+++ b/
src/gallium/drivers/radeon/radeon_uvd.c
@@
-402,6
+402,9
@@
static struct ruvd_h264 get_h264_msg(struct ruvd_decoder *dec, struct pipe_h264_
result.log2_max_pic_order_cnt_lsb_minus4 = pic->pps->sps->log2_max_pic_order_cnt_lsb_minus4;
switch (dec->base.chroma_format) {
+ case PIPE_VIDEO_CHROMA_FORMAT_NONE:
+ /* TODO: assert? */
+ break;
case PIPE_VIDEO_CHROMA_FORMAT_400:
result.chroma_format = 0;
break;