radeon/vcn: reset the decode flags from message buffer

This flag was never used by VCN previously, and now
it's used for feature that is not applied to us.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5501>
This commit is contained in:
Leo Liu 2020-06-11 18:28:25 -04:00
parent 3817fa7a4d
commit 909037b557
1 changed files with 1 additions and 1 deletions

View File

@ -807,7 +807,7 @@ static struct pb_buffer *rvcn_dec_message_decode(struct radeon_decoder *dec,
index->filled = 0;
decode->stream_type = dec->stream_type;
decode->decode_flags = 0x1;
decode->decode_flags = 0;
decode->width_in_samples = dec->base.width;
decode->height_in_samples = dec->base.height;