Commit 81d59507 authored by Christophe Massiot's avatar Christophe Massiot

* examples/dvb_print_si.c: Make standard output line-buffered.

parent 4a470685
...@@ -592,6 +592,8 @@ int main(int i_argc, char **ppsz_argv) ...@@ -592,6 +592,8 @@ int main(int i_argc, char **ppsz_argv)
usage(ppsz_argv[0]); usage(ppsz_argv[0]);
} }
setvbuf(stdout, NULL, _IOLBF, 0);
memset(p_pids, 0, sizeof(p_pids)); memset(p_pids, 0, sizeof(p_pids));
for (i = 0; i < 8192; i++) { for (i = 0; i < 8192; i++) {
......
Markdown is supported
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