st/va: add missing break statement
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 29 Nov 2015 11:48:26 +0000 (11:48 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 29 Nov 2015 14:31:14 +0000 (14:31 +0000)
commit866a1f7fddcf38c0cd40fc7b9509e562353e1acc
treeabb1fb8f1081ffcf594767518cf4066d5fc852e9
parent0396eaaf80c5d7955d7926c4e448f006c7682d2e
st/va: add missing break statement

Earlier commit factored out the mpeg4 IQ matrix handling into separate
function, although it forgot to add a break in its case statement.
Thus the data ended up partially overwritten as the mpeg4 and h265
structs are members of the desc union.

Spotted by Coverity (CID 1341052)

Fixes: 64761a841db "st/va: move MPEG4 functions into separate file"
Cc: Julien Isorce <j.isorce@samsung.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/picture.c