avcodec/h264: Execute error concealment before marking the frame as done.
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 19 Feb 2016 00:31:16 +0000 (01:31 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 19 Feb 2016 01:07:46 +0000 (02:07 +0100)
commitb3a64fc0397a7df8261e933cc562166ba980a911
tree5e917e05384fd427ebdf3dde9a36dc28579250e5
parent21a6b7930e5d51453dbe67ca03f1c98b46023521
avcodec/h264: Execute error concealment before marking the frame as done.

Fixes race condition causing artifacts
Fixes Ticket4122

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 98a0053d0f90e3309dc1038b1bae3a48bbd9067c)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264.c
libavcodec/h264_picture.c