[NUT-devel] [nut]: r134 - trunk/libnut/muxer.c
ods15
subversion at mplayerhq.hu
Sat Sep 16 21:11:03 CEST 2006
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);
}
More information about the NUT-devel
mailing list