util/vl_vlc: Support compiling in C++
Reviewed-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16286>
This commit is contained in:
parent
b2b907f052
commit
95b184f471
|
@ -98,7 +98,7 @@ vl_vlc_next_input(struct vl_vlc *vlc)
|
|||
vlc->bytes_left = 0;
|
||||
}
|
||||
|
||||
vlc->data = vlc->inputs[0];
|
||||
vlc->data = (const uint8_t *) vlc->inputs[0];
|
||||
vlc->end = vlc->data + len;
|
||||
|
||||
++vlc->inputs;
|
||||
|
|
Loading…
Reference in New Issue