summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'codec-cfg.c')
-rw-r--r--codec-cfg.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/codec-cfg.c b/codec-cfg.c
index d5f52d0c15..39269a4533 100644
--- a/codec-cfg.c
+++ b/codec-cfg.c
@@ -698,12 +698,10 @@ codecs_t* find_codec(unsigned int fourcc,unsigned int *fourccmap,
if(!i) return NULL;
for (/* NOTHING */; i--; c++) {
if(start && c<=start) continue;
- if(c->flags&CODECS_FLAG_SELECTED) continue;
for (j = 0; j < CODECS_MAX_FOURCC; j++) {
if (c->fourcc[j]==fourcc || c->driver==0) {
if (fourccmap)
*fourccmap = c->fourccmap[j];
- c->flags|=CODECS_FLAG_SELECTED;
return c;
}
}