[Mplayer-cvslog] CVS: main codec-cfg.c,1.20,1.21

GEREOFFY arpi_esp at users.sourceforge.net
Wed Apr 25 00:55:54 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv10860

Modified Files:
	codec-cfg.c 
Log Message:
fixed start!=NULL in find_codec()

Index: codec-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** codec-cfg.c	2001/04/24 10:21:55	1.20
--- codec-cfg.c	2001/04/24 22:55:52	1.21
***************
*** 594,597 ****
--- 594,598 ----
  	codecs_t *c;
  
+ #if 0
  	if (start) {
  		for (/* NOTHING */; start->name; start++) {
***************
*** 604,608 ****
  			}
  		}
! 	} else {
  		if (audioflag) {
  			i = nr_acodecs;
--- 605,611 ----
  			}
  		}
! 	} else 
! #endif
!         {
  		if (audioflag) {
  			i = nr_acodecs;
***************
*** 613,616 ****
--- 616,620 ----
  		}
  		for (/* NOTHING */; i--; c++) {
+                         if(start && c<=start) continue;
  			for (j = 0; j < CODECS_MAX_FOURCC; j++) {
  				if (c->fourcc[j] == fourcc) {


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list