[vlc-devel] [PATCH] vaapi: fix profiles detection.
fcvlcdev at free.fr
Tue Dec 6 15:43:01 CET 2011
On 06/12/2011 15:16, Jean-Paul Saman wrote:
> ==> cause of crash, it should be vaMaxNumProfiles( p_va->p_display );
Of course that's wrong.
Scrolled through source and ended copying 3 lines lower :/
>> + while( --i_profiles_nb >= 0 )
> The coding style in this file uses for-loops in this kind of
> constructs. Therefor my suggestion is that you do the same.
I tried to avoid another top declaration as I can't see any inline var
More information about the vlc-devel