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

ods15 subversion at mplayerhq.hu
Sun Dec 24 07:52:09 CET 2006


Author: ods15
Date: Sun Dec 24 07:52:08 2006
New Revision: 274

Modified:
   trunk/libnut/demuxer.c

Log:
forgotten CHECK's for memory errors


Modified: trunk/libnut/demuxer.c
==============================================================================
--- trunk/libnut/demuxer.c	(original)
+++ trunk/libnut/demuxer.c	Sun Dec 24 07:52:08 2006
@@ -912,7 +912,7 @@
 
 	ERROR(!(nut->dopts.cache_syncpoints & 1) || !sl->len, -1);
 
-	flush_syncpoint_queue(nut);
+	CHECK(flush_syncpoint_queue(nut));
 
 	if (i) i--;
 	else {
@@ -1421,7 +1421,7 @@
 		for (i = 0; i < nut->stream_count; i++) nut->sc[i].state.pts = (uint64_t)(time_pos / TO_TB(i).num * TO_TB(i).den);
 		nut->seek_time_pos = time_pos;
 		nut->dopts.cache_syncpoints |= 2;
-		flush_syncpoint_queue(nut);
+		CHECK(flush_syncpoint_queue(nut));
 	} else {
 		time_pos = nut->seek_time_pos;
 	}



More information about the NUT-devel mailing list