[Mplayer-cvslog] CVS: main codec-cfg.c,1.99,1.100
    Arpi of Ize 
    arpi at mplayerhq.hu
       
    Mon Dec 16 03:22:54 CET 2002
    
        - Previous message: [Mplayer-cvslog] CVS: main/libmpcodecs ve_qtvideo.c,NONE,1.1 Makefile,1.81,1.82 vd_qtvideo.c,1.11,1.12 ve.c,1.4,1.5
 
        - Next message: [Mplayer-cvslog] CVS: main/libmpcodecs vd_qtvideo.c,1.12,1.13
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
    
  
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv18047
Modified Files:
	codec-cfg.c 
Log Message:
10l
foudn by Steven Schultz
Index: codec-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -r1.99 -r1.100
--- codec-cfg.c	15 Dec 2002 23:45:19 -0000	1.99
+++ codec-cfg.c	16 Dec 2002 02:22:37 -0000	1.100
@@ -490,8 +490,8 @@
 #else
 		video_codecs = builtin_video_codecs;
 		audio_codecs = builtin_audio_codecs;
-		nr_vcodecs = sizeof(builtin_video_codecs)/sizeof(codecs_t) - 1;
-		nr_acodecs = sizeof(builtin_audio_codecs)/sizeof(codecs_t) - 1;
+		nr_vcodecs = sizeof(builtin_video_codecs)/sizeof(codecs_t);
+		nr_acodecs = sizeof(builtin_audio_codecs)/sizeof(codecs_t);
 		return 1;
 #endif
 	}
@@ -989,7 +989,7 @@
 		
 		for (i=0; i<2; i++) {
 		  	printf("codecs_t %s[] = {\n", nm[i]);
-			for (j = 0; j <= nr[i]; j++) {
+			for (j = 0; j < nr[i]; j++) {
 			  	printf("{");
 
 				print_int_array(cod[i][j].fourcc, CODECS_MAX_FOURCC);
    
    
        
	- Previous message: [Mplayer-cvslog] CVS: main/libmpcodecs ve_qtvideo.c,NONE,1.1 Makefile,1.81,1.82 vd_qtvideo.c,1.11,1.12 ve.c,1.4,1.5
 
	- Next message: [Mplayer-cvslog] CVS: main/libmpcodecs vd_qtvideo.c,1.12,1.13
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
More information about the MPlayer-cvslog
mailing list