[NUT-devel] [NUT] (ods15): r79 - /trunk/libnut/demuxer.c

syncmail at mplayerhq.hu syncmail at mplayerhq.hu
Sat Feb 25 18:39:57 CET 2006


Author: ods15
Date: Sat Feb 25 18:39:57 2006
New Revision: 79

Log:
fix use of uninited memory

Modified:
    trunk/libnut/demuxer.c

Modified: trunk/libnut/demuxer.c
==============================================================================
--- trunk/libnut/demuxer.c (original)
+++ trunk/libnut/demuxer.c Sat Feb 25 18:39:57 2006
@@ -451,7 +451,7 @@
 					GET_V(tmp, A);
 					GET_V(tmp, B);
 					sl->eor[j * nut->stream_count + i] = last_pts + A + B;
-				}
+				} else sl->eor[j * nut->stream_count + i] = 0;
 				sl->pts[j * nut->stream_count + i] = last_pts + A;
 				last_pts += A + B;
 			}




More information about the NUT-devel mailing list