Browse Source

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

master
Christophe Massiot 14 years ago
parent
commit
81d595078f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      examples/dvb_print_si.c

+ 2
- 0
examples/dvb_print_si.c View File

@ -592,6 +592,8 @@ int main(int i_argc, char **ppsz_argv)
usage(ppsz_argv[0]);
}
setvbuf(stdout, NULL, _IOLBF, 0);
memset(p_pids, 0, sizeof(p_pids));
for (i = 0; i < 8192; i++) {

Loading…
Cancel
Save