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; } }