Re: [FFmpeg-devel] [PATCH 2/8] ffserver: Implement lua config file reader

2018-05-28 Thread Michael Niedermayer
On Mon, May 28, 2018 at 08:18:53PM +0200, Stephan Holljes wrote: > Signed-off-by: Stephan Holljes > --- > configreader.c | 235 > + > configreader.h | 47 > 2 files changed, 282 insertions(+) > create mode 100644 configreader

Re: [FFmpeg-devel] [PATCH 2/8] ffserver: Implement lua config file reader

2018-05-21 Thread Stephan Holljes
On Mon, May 21, 2018 at 3:04 PM, James Darnley wrote: > On 2018-05-20 20:53, Stephan Holljes wrote: >> +#include >> +#include >> +#include > > That's not portable. Lua headers are not in a subdirectory. Yes, artifact from early testing, changed and tested, pkg-config adds the appropriate incl

Re: [FFmpeg-devel] [PATCH 2/8] ffserver: Implement lua config file reader

2018-05-21 Thread James Darnley
On 2018-05-20 20:53, Stephan Holljes wrote: > +#include > +#include > +#include That's not portable. Lua headers are not in a subdirectory. > +int configs_read(struct HTTPDConfig **configs, const char *filename) > +{ > +int ret = 0; > +int nb_configs = 0; > +int nb_streams = 0; >

Re: [FFmpeg-devel] [PATCH 2/8] ffserver: Implement lua config file reader

2018-05-20 Thread Michael Niedermayer
On Sun, May 20, 2018 at 08:53:58PM +0200, Stephan Holljes wrote: > Signed-off-by: Stephan Holljes > --- > configreader.c | 211 > + > configreader.h | 46 + > 2 files changed, 257 insertions(+) > create mode 100644 configreade