diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-17 06:20:48 +0400 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-18 02:24:25 +0400 |
commit | 635389ccfa96cff33ece7bfbb1e9fe5e9a0c21a8 (patch) | |
tree | 1925ba2c644f3443c6a842d65135ada6226d4eaa /libavformat/img2.c | |
parent | 1efcab02b6c717567c370239b5fc94ac77095079 (diff) |
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
Diffstat (limited to 'libavformat/img2.c')
-rw-r--r-- | libavformat/img2.c | 1 |
1 files changed, 0 insertions, 1 deletions
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" }, |