Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Dröge
libndi
Commits
8e5ea1eb
Commit
8e5ea1eb
authored
Jun 18, 2020
by
Jean-Baptiste Kempf
Browse files
Fix identation issues
parent
8ec0e16e
Changes
3
Hide whitespace changes
Inline
Side-by-side
libndi.c
View file @
8e5ea1eb
...
...
@@ -428,10 +428,10 @@ static int request_ndi_data(ndi_ctx *ndi_ctx)
ndi_ctx
*
libndi_init
(
void
)
{
ndi_ctx
*
ndi_ctx
=
calloc
(
1
,
sizeof
(
*
ndi_ctx
));
if
(
!
ndi_ctx
)
{
fprintf
(
stderr
,
"malloc failed
\n
"
);
return
NULL
;
ndi_ctx
*
ndi_ctx
=
calloc
(
1
,
sizeof
(
*
ndi_ctx
));
if
(
!
ndi_ctx
)
{
fprintf
(
stderr
,
"malloc failed
\n
"
);
return
NULL
;
}
/* Create and scramble request messages */
...
...
meson.build
View file @
8e5ea1eb
project('libndi', 'c',
version: '0.0.1',
default_options: ['c_std=c99',
'warning_level=3',
'buildtype=release',
'b_ndebug=if-release'],
'warning_level=3',
'buildtype=release',
'b_ndebug=if-release'],
meson_version: '>= 0.47.0')
# API/ABI version (soversion) for the library
...
...
@@ -29,12 +29,12 @@ if microdns_dep.found()
endif
libndi = library('ndi',
'libndi.c',
'libndi.h',
ndi_discovery_sources,
version: ndi_soname_version,
install: true,
dependencies: [libavutil_dep, ndi_discovery_deps])
'libndi.c',
'libndi.h',
ndi_discovery_sources,
version: ndi_soname_version,
install: true,
dependencies: [libavutil_dep, ndi_discovery_deps])
#
...
...
ndi.c
View file @
8e5ea1eb
...
...
@@ -143,7 +143,7 @@ int main(int argc, char *argv[])
libndi_close
(
ndi_ctx
);
end:
end:
av_frame_free
(
&
frame
);
av_packet_free
(
&
pkt
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment