• Ronald S. Bultje's avatar
    vp8: fix up handling of segmentation_maps in reference frames. · ce42a048
    Ronald S. Bultje authored
    Associate segmentation_map[] with reference frame, rather than
    decoding instance. This fixes cases where the map would be free()'ed
    on e.g. a size change in one thread, whereas the other thread was
    still accessing it. Also, it fixes cases where threads overwrite data
    that is still being referenced by the previous thread, who thinks that
    it's part of the frame previously decoded by the next thread.
    ce42a048