Incorrect assert in gallium/state_trackers/va/picture_mjpeg.c
Submitted by Andres
Assigned to mes..@..op.org
Link to original bug (#109765)
Description
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);