vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Jun 11 
19:21:06 2015 +0300| [351869f2f4827fea4b00d7b6e89f2bb419b8a075] | committer: 
Rémi Denis-Courmont

fourcc: derecursify the Find() function

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=351869f2f4827fea4b00d7b6e89f2bb419b8a075
---

 src/misc/fourcc.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
index 63e36f5..7922133 100644
--- a/src/misc/fourcc.c
+++ b/src/misc/fourcc.c
@@ -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;
     }
 }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to