[vlc-devel] [PATCH 2/2] videotoolbox: Use noErr instead of 0

Thomas Guillem thomas at gllm.fr
Mon Oct 16 00:39:40 CEST 2017


OK

On Mon, Oct 16, 2017, at 00:18, Marvin Scholz wrote:
> ---
>  modules/codec/videotoolbox.m | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/codec/videotoolbox.m b/modules/codec/videotoolbox.m
> index d406ac54bf..def5b0d2f4 100644
> --- a/modules/codec/videotoolbox.m
> +++ b/modules/codec/videotoolbox.m
> @@ -1283,7 +1283,7 @@ static int HandleVTStatus(decoder_t *p_dec,
> OSStatus status,
>  
>      switch (status)
>      {
> -        case 0:
> +        case noErr:
>              return VLC_SUCCESS;
>  
>          VTERRCASE(kVTPropertyNotSupportedErr)
> -- 
> 2.13.5 (Apple Git-94)
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list