mirror of https://github.com/mpv-player/mpv
100l :(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5328 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fbf84aa57e
commit
092bf60b8d
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue