Commit 351869f2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

fourcc: derecursify the Find() function

parent 9ad76e4f
...@@ -1666,11 +1666,11 @@ static entry_t Find( int i_cat, vlc_fourcc_t i_fourcc ) ...@@ -1666,11 +1666,11 @@ static entry_t Find( int i_cat, vlc_fourcc_t i_fourcc )
return Lookup( p_list_spu, i_fourcc ); return Lookup( p_list_spu, i_fourcc );
default: default:
e = Find( VIDEO_ES, i_fourcc ); e = Lookup( p_list_video, i_fourcc );
if( CreateFourcc( e.p_class ) == 0 ) 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 ) if( CreateFourcc( e.p_class ) == 0 )
e = Find( SPU_ES, i_fourcc ); e = Lookup( p_list_spu, i_fourcc );
return e; return e;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment