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

syncmail at mplayerhq.hu syncmail at mplayerhq.hu
Sat Mar 11 11:02:21 CET 2006


Author: ods15
Date: Sat Mar 11 11:02:21 2006
New Revision: 89

Log:
sync to spec, max_distance not higher than 65536

Modified:
    trunk/libnut/demuxer.c

Modified: trunk/libnut/demuxer.c
==============================================================================
--- trunk/libnut/demuxer.c (original)
+++ trunk/libnut/demuxer.c Sat Mar 11 11:02:21 2006
@@ -219,6 +219,7 @@
 	ERROR(i != NUT_VERSION, -ERR_BAD_VERSION);
 	GET_V(tmp, nut->stream_count);
 	GET_V(tmp, nut->max_distance);
+	if (nut->max_distance > 65536) nut->max_distance = 65536;
 
 	for(i = 0; i < 256; ) {
 		int scrap;




More information about the NUT-devel mailing list