mirror of
https://github.com/mpv-player/mpv
synced 2025-02-24 08:57:00 +00:00
support for null codecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1392 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ce4aaedc2e
commit
4fe2b9ed4d
@ -626,7 +626,7 @@ codecs_t* find_codec(unsigned int fourcc,unsigned int *fourccmap,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user