git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5328 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-03-25 03:19:06 +00:00
parent fbf84aa57e
commit 092bf60b8d
1 changed files with 0 additions and 2 deletions

View File

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