[NUT-devel] [NUT] (ods15): r100 - in /trunk/libnut: demuxer.c muxer.c

syncmail at mplayerhq.hu syncmail at mplayerhq.hu
Sat Mar 11 20:49:07 CET 2006


Author: ods15
Date: Sat Mar 11 20:49:07 2006
New Revision: 100

Log:
sync to spec, 128kb for max_distance instead of 64kb

Modified:
    trunk/libnut/demuxer.c
    trunk/libnut/muxer.c

Modified: trunk/libnut/demuxer.c
==============================================================================
--- trunk/libnut/demuxer.c (original)
+++ trunk/libnut/demuxer.c Sat Mar 11 20:49:07 2006
@@ -236,7 +236,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;
+	if (nut->max_distance > 131072) nut->max_distance = 131072;
 
 	for(i = 0; i < 256; ) {
 		int scrap;

Modified: trunk/libnut/muxer.c
==============================================================================
--- trunk/libnut/muxer.c (original)
+++ trunk/libnut/muxer.c Sat Mar 11 20:49:07 2006
@@ -488,7 +488,7 @@
 	nut->max_distance = mopts->max_distance;
 	nut->mopts = *mopts;
 
-	if (nut->max_distance > 65536) nut->max_distance = 65536;
+	if (nut->max_distance > 131072) nut->max_distance = 131072;
 
 	{
 	int j, n;




More information about the NUT-devel mailing list