[Mesa-dev] [Bug 109765] Incorrect assert in gallium/state_trackers/va/picture_mjpeg.c
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Feb 24 23:41:16 UTC 2019
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 at lists.freedesktop.org
Reporter: andrescj at chromium.org
QA Contact: mesa-dev at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190224/18b05bb7/attachment-0001.html>
More information about the mesa-dev
mailing list