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:
Sil Vilerino
2022-05-02 09:27:37 -07:00
committed by Marge Bot
parent b2b907f052
commit 95b184f471
+1 -1
View File
@@ -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;