https://bugs.freedesktop.org/show_bug.cgi?id=109765
Bug ID: 109765
Summary: Incorrect assert in
gallium/state_trackers/va/picture_mjpeg.c
Product: Mesa
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Other
Assignee: mesa-dev@lists.freedesktop.org
Reporter: andre...@chromium.org
QA Contact: mesa-dev@lists.freedesktop.org
The assert in vlVaHandleHuffmanTableBufferType() [1] seems incorrect. Based on
the pattern of the other functions in the file, it should be:
assert(buf->size >= sizeof(VAHuffmanTableBufferJPEGBaseline) &&
buf->num_elements == 1);
instead of
assert(buf->size >= sizeof(VASliceParameterBufferJPEGBaseline) &&
buf->num_elements == 1);
[1]
https://gitlab.freedesktop.org/mesa/mesa/blob/master/src/gallium/state_trackers/va/picture_mjpeg.c#L74
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev