Index: /trunk/lib/format_helper.c
===================================================================
--- /trunk/lib/format_helper.c	(revision 816)
+++ /trunk/lib/format_helper.c	(revision 817)
@@ -169,5 +169,5 @@
 
 	if (strcmp(trace->uridata,"-")==0) {
-		ret=libtrace_io_fdopen(fileno(stdin),"r");
+		ret=libtrace_io_fdopen(fileno(stdin),"rb");
 		return ret;
 	}
