[vlc-devel] [PATCH 1/4] fourcc: add WebP image format

Jean-Baptiste Kempf jb at videolan.org
Wed Mar 7 06:07:56 CET 2018


LGTM.

On Tue, 6 Mar 2018, at 07:40, Tristan Matthews wrote:
> Refs #19446
> ---
>  include/vlc_fourcc.h   | 1 +
>  src/misc/fourcc_list.h | 3 +++
>  2 files changed, 4 insertions(+)
> 
> diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
> index 76d0e5a3aa..40adfeed69 100644
> --- a/include/vlc_fourcc.h
> +++ b/include/vlc_fourcc.h
> @@ -406,6 +406,7 @@
>  #define VLC_CODEC_PCX             VLC_FOURCC('p','c','x',' ')
>  #define VLC_CODEC_XWD             VLC_FOURCC('X','W','D',' ')
>  #define VLC_CODEC_TXD             VLC_FOURCC('T','X','D',' ')
> +#define VLC_CODEC_WEBP            VLC_FOURCC('W','E','B','P')
>  
>  
>  /* Audio codec */
> diff --git a/src/misc/fourcc_list.h b/src/misc/fourcc_list.h
> index 03117458ad..a7985cfb79 100644
> --- a/src/misc/fourcc_list.h
> +++ b/src/misc/fourcc_list.h
> @@ -1003,6 +1003,9 @@ static const staticentry_t p_list_video[] = {
>          A("LJ2C"),
>          A("LJ2K"),
>  
> +    B(VLC_CODEC_WEBP, "WebP Image"),
> +        A("WEBP"),
> +
>      B(VLC_CODEC_LAGARITH, "Lagarith Lossless"),
>          A("LAGS"),
>  
> -- 
> 2.16.2
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


-- 
Jean-Baptiste Kempf -  President
+33 672 704 734


More information about the vlc-devel mailing list