changeset 1391:473a03335ae6

support for null codecs
author arpi
date Thu, 26 Jul 2001 00:30:01 +0000
parents b3389600cec8
children 20c1ff7da89c
files codec-cfg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/codec-cfg.c	Thu Jul 26 00:29:00 2001 +0000
+++ b/codec-cfg.c	Thu Jul 26 00:30:01 2001 +0000
@@ -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;