[NUT-devel] [nut]: r144 - trunk/libnut/demuxer.c

ods15 subversion at mplayerhq.hu
Sat Sep 23 21:10:39 CEST 2006


Author: ods15
Date: Sat Sep 23 21:10:38 2006
New Revision: 144

Modified:
   trunk/libnut/demuxer.c

Log:
small fix to last patch


Modified: trunk/libnut/demuxer.c
==============================================================================
--- trunk/libnut/demuxer.c	(original)
+++ trunk/libnut/demuxer.c	Sat Sep 23 21:10:38 2006
@@ -202,7 +202,7 @@
 	if ((err = get_v(in, &tmp))) return err;
 	*len = tmp;
 	*buf = alloc->realloc(*buf, *len);
-	if (get_data(in, *len, *buf) != tmp) return buf_eof(in);
+	if (get_data(in, *len, *buf) != *len) return buf_eof(in);
 	return 0;
 }
 



More information about the NUT-devel mailing list