plugins/vlc_demux.h missing __restirct
Hi,
trying to build this plugin [0] with vlc 2.2.0 I get this error:
g++ -pipe -O2 -Wall -Wextra -std=gnu++0x -I. -g -DMODULE_STRING="htsp" -DVLC_PLUGIN_MAJOR=2 -DVLC_PLUGIN_MINOR=2 -D__PLUGIN__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -I/usr/include/vlc/plugins -DPIC -fPIC -c vlc-htsp-plugin.cpp In file included from /usr/include/vlc/plugins/vlc_demux.h:32:0, from vlc-htsp-plugin.cpp:21: /usr/include/vlc/plugins/vlc_es.h:288:66: error: expected ‘,’ or ‘...’ before ‘out’ VLC_API void video_format_ApplyRotation(video_format_t *restrict out, const video_format_t *restrict in); ^
In IRC vlc channel, we assumed that header is missing a define against __restrict.