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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user