• Anton Khirnov's avatar
    kgv1dec: replace forcing EMU_EDGE by a copy · adb199d1
    Anton Khirnov authored
    The decoder currently sets CODEC_FLAG_EMU_EDGE and relies on
    get_buffer2() to always provide buffers with linesize == 2 * width.
    This is wrong, since we place no such restriction on get_buffer2()
    implementations.
    
    Fix this by decoding into internal buffers and copying them to output
    frames. Since this is a very obscure decoder, the performance hit should
    not be an issue.
    adb199d1
kgv1dec.c 5.43 KB