List Info

Thread: r134 - trunk/libnut/muxer.c




r134 - trunk/libnut/muxer.c
user name
2006-09-16 19:11:03
Author: ods15
Date: Sat Sep 16 21:11:02 2006
New Revision: 134

Modified:
   trunk/libnut/muxer.c

Log:
not crash with none FILE* stuff


Modified: trunk/libnut/muxer.c
============================================================
==================
--- trunk/libnut/muxer.c	(original)
+++ trunk/libnut/muxer.c	Sat Sep 16 21:11:02 2006
 -651,8
+651,8 
 
 	free_buffer(nut->tmp_buffer);
 	free_buffer(nut->tmp_buffer2);
-	free_buffer(nut->o); // flushes file
 	fprintf(stderr, "TOTAL: %d bytes data, %d bytes
overhead, %.2lf%% overhead\n", total,
-		(int)ftell(nut->mopts.output.priv) - total,
(double)(ftell(nut->mopts.output.priv) - total) /
total*100);
+		(int)bctello(nut->o) - total,
(double)(bctello(nut->o) - total) / total*100);
+	free_buffer(nut->o); // flushes file
 	free(nut);
 }
_______________________________________________
NUT-devel mailing list
NUT-develmplayerhq.hu

http://lists.mplayerhq.hu/mailman/listinfo/nut-devel
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )