On Wed, Oct 19, 2011 at 08:23:34AM -0700, Ronald S. Bultje wrote:
> 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.
> ---
>  libavcodec/vp8.c |   68 +++++++++++++++++++++++++++++++++++++++++++----------
>  libavcodec/vp8.h |   11 ++++++++-
>  2 files changed, 65 insertions(+), 14 deletions(-)

LGTM
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to