[vlc-devel] how can i change ssize_t in "typedef ssize_t (*libvlc_media_read_cb)(void *opaque, unsigned char *buf, size_t len); " to compile in vs2019
Mashomii
diaxa at qq.com
Mon Dec 21 05:31:32 UTC 2020
Hello Everyone!
I've been using the excellent VLC sdk to display a RTSP stream in a winform application.
The callback declaration
"typedef ssize_t (*libvlc_media_read_cb)(void *opaque, unsigned char *buf, size_t len);"
in header file
"vlc-3.0.11-win32\vlc-3.0.11\sdk\include\vlc\libvlc_media.h"
doesn't compile in VS2019.
It seems the "ssize_t" doesn't exits on vc++ compiler headers.
How should I change the type "ssize_t" to using the sdk?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20201221/2be10526/attachment.html>
More information about the vlc-devel
mailing list