mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-12 13:44:56 +02:00
fourcc: derecursify the Find() function
This commit is contained in:
parent
9ad76e4f45
commit
351869f2f4
@ -1666,11 +1666,11 @@ static entry_t Find( int i_cat, vlc_fourcc_t i_fourcc )
|
||||
return Lookup( p_list_spu, i_fourcc );
|
||||
|
||||
default:
|
||||
e = Find( VIDEO_ES, i_fourcc );
|
||||
e = Lookup( p_list_video, i_fourcc );
|
||||
if( CreateFourcc( e.p_class ) == 0 )
|
||||
e = Find( AUDIO_ES, i_fourcc );
|
||||
e = Lookup( p_list_audio, i_fourcc );
|
||||
if( CreateFourcc( e.p_class ) == 0 )
|
||||
e = Find( SPU_ES, i_fourcc );
|
||||
e = Lookup( p_list_spu, i_fourcc );
|
||||
return e;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user