[Mplayer-cvslog] CVS: main codec-cfg.c,1.27,1.28
Arpi of Ize
arpi at mplayer.dev.hu
Thu Jul 26 02:30:04 CEST 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv10666
Modified Files:
codec-cfg.c
Log Message:
support for null codecs
Index: codec-cfg.c
===================================================================
RCS file: /cvsroot/mplayer/main/codec-cfg.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- codec-cfg.c 19 Jul 2001 22:39:52 -0000 1.27
+++ codec-cfg.c 26 Jul 2001 00:30:01 -0000 1.28
@@ -626,7 +626,7 @@
for (/* NOTHING */; i--; c++) {
if(start && c<=start) continue;
for (j = 0; j < CODECS_MAX_FOURCC; j++) {
- if (c->fourcc[j] == fourcc) {
+ if (c->fourcc[j]==fourcc || c->driver==0) {
if (fourccmap)
*fourccmap = c->fourccmap[j];
return c;
More information about the MPlayer-cvslog
mailing list