Mercurial > libavcodec.hg
changeset 8749:21a41fd79033 libavcodec
Fix list of input pix_fmts supported by GIF. This makes it work with swscale.
It also allows encoding GIF with a 4-bit palette and with a graycale one as a
side effect.
author | michael |
---|---|
date | Fri, 06 Feb 2009 13:04:39 +0000 |
parents | eaa08ce79f9a |
children | 2528b6a2b5d3 |
files | gif.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gif.c Fri Feb 06 12:59:50 2009 +0000 +++ b/gif.c Fri Feb 06 13:04:39 2009 +0000 @@ -283,6 +283,6 @@ gif_encode_init, gif_encode_frame, NULL, //encode_end, - .pix_fmts= (enum PixelFormat[]){PIX_FMT_PAL8, PIX_FMT_NONE}, + .pix_fmts= (enum PixelFormat[]){PIX_FMT_RGB8, PIX_FMT_BGR8, PIX_FMT_RGB4_BYTE, PIX_FMT_BGR4_BYTE, PIX_FMT_GRAY8, PIX_FMT_PAL8, PIX_FMT_NONE}, .long_name= NULL_IF_CONFIG_SMALL("GIF (Graphics Interchange Format)"), };