• Clément Bœsch's avatar
    Cleanse GIF muxer and encoder. · 635389cc
    Clément Bœsch authored
    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
    635389cc
gif 1.16 KB