From 635389ccfa96cff33ece7bfbb1e9fe5e9a0c21a8 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Wed, 17 Apr 2013 04:20:48 +0200 Subject: Cleanse GIF muxer and encoder. This commit removes the badly duplicated code between the encoder and the muxer. That may sound surprising, but the encoder is now responsible from the encoding of the picture when muxing to a .gif file. It also does not require anymore a manual user intervention such as a -pix_fmt rgb24 to work properly. To summarize, output gif are now easier to generate, code is saner and simpler, and files are smaller (thanks to the lzw encoding which was unused so far with the default .gif output). We can certainly make things even better, but this is the first step. FATE is updated because of the output being produced by the encoder and not the muxer (no lzw in the muxer), and in the seek test only the size mismatches. Fixes Ticket #2262 --- libavformat/img2.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libavformat/img2.c') diff --git a/libavformat/img2.c b/libavformat/img2.c index 270ffd9aca..7539359540 100644 --- a/libavformat/img2.c +++ b/libavformat/img2.c @@ -50,7 +50,6 @@ static const IdStrMap img_tags[] = { { AV_CODEC_ID_RAWVIDEO, "y" }, { AV_CODEC_ID_RAWVIDEO, "raw" }, { AV_CODEC_ID_BMP, "bmp" }, - { AV_CODEC_ID_GIF, "gif" }, { AV_CODEC_ID_TARGA, "tga" }, { AV_CODEC_ID_TIFF, "tiff" }, { AV_CODEC_ID_TIFF, "tif" }, -- cgit v1.2.3