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>
Thu, 28 Apr 2016 01:47:12 +0000 (03:47 +0200)
commit8dce138510b917bcbabd1bfbd356cb929498a353
treefc55c24e2d125d89d8510400ffa6264d28766f97
parent13b75ba30a221987f25b9a5463e7eedb72a58075
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