Commit 8e5ea1eb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Fix identation issues

parent 8ec0e16e
...@@ -428,10 +428,10 @@ static int request_ndi_data(ndi_ctx *ndi_ctx) ...@@ -428,10 +428,10 @@ static int request_ndi_data(ndi_ctx *ndi_ctx)
ndi_ctx *libndi_init(void) ndi_ctx *libndi_init(void)
{ {
ndi_ctx *ndi_ctx = calloc(1, sizeof(*ndi_ctx)); ndi_ctx *ndi_ctx = calloc(1, sizeof(*ndi_ctx));
if(!ndi_ctx) { if(!ndi_ctx) {
fprintf(stderr, "malloc failed \n"); fprintf(stderr, "malloc failed \n");
return NULL; return NULL;
} }
/* Create and scramble request messages */ /* Create and scramble request messages */
......
project('libndi', 'c', project('libndi', 'c',
version: '0.0.1', version: '0.0.1',
default_options: ['c_std=c99', default_options: ['c_std=c99',
'warning_level=3', 'warning_level=3',
'buildtype=release', 'buildtype=release',
'b_ndebug=if-release'], 'b_ndebug=if-release'],
meson_version: '>= 0.47.0') meson_version: '>= 0.47.0')
# API/ABI version (soversion) for the library # API/ABI version (soversion) for the library
...@@ -29,12 +29,12 @@ if microdns_dep.found() ...@@ -29,12 +29,12 @@ if microdns_dep.found()
endif endif
libndi = library('ndi', libndi = library('ndi',
'libndi.c', 'libndi.c',
'libndi.h', 'libndi.h',
ndi_discovery_sources, ndi_discovery_sources,
version: ndi_soname_version, version: ndi_soname_version,
install: true, install: true,
dependencies: [libavutil_dep, ndi_discovery_deps]) dependencies: [libavutil_dep, ndi_discovery_deps])
# #
......
...@@ -143,7 +143,7 @@ int main(int argc, char *argv[]) ...@@ -143,7 +143,7 @@ int main(int argc, char *argv[])
libndi_close(ndi_ctx); libndi_close(ndi_ctx);
end: end:
av_frame_free(&frame); av_frame_free(&frame);
av_packet_free(&pkt); av_packet_free(&pkt);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment