List Info

Thread: r265 - trunk/libnut/framecode.c




r265 - trunk/libnut/framecode.c
user name
2006-11-24 07:24:01
Author: ods15
Date: Fri Nov 24 08:24:00 2006
New Revision: 265

Modified:
   trunk/libnut/framecode.c

Log:
Small fix for framecode consume generation


Modified: trunk/libnut/framecode.c
============================================================
==================
--- trunk/libnut/framecode.c	(original)
+++ trunk/libnut/framecode.c	Fri Nov 24 08:24:00 2006
 -82,8
+82,10 
 	}
 
 	for (i = 0; i < stream_count; i++) if (consume[i])
tot_con++;
+
+	if (tot_con) tot_con = (254 - (n+m))/tot_con; // 256 - 'N'
- 0xFF invalids
 	if (tot_con) for (i = 0; i < stream_count; i++) {
-		int al = (254 - (n+m))/tot_con; // 256 - 'N' - 0xFF
invalids
+		int al = tot_con;
 		switch (consume[i]) {
 		case e_consume_none:
 			break;
_______________________________________________
NUT-devel mailing list
NUT-develmplayerhq.hu

http://lists.mplayerhq.hu/mailman/listinfo/nut-devel
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )