h264_slice: Wait for refs to be available before we use them in error concealment
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Wed, 7 Dec 2016 17:57:41 +0000 (17:57 +0000)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Fri, 9 Dec 2016 15:00:29 +0000 (15:00 +0000)
commit4413e950b26396bfb797168e4f81164a022cc6f3
treec71f1ef1361f3ab99ceb055fed93954703a1600d
parent06c62ce09c572a5875f6855a4cf1cd1a287d494b
h264_slice: Wait for refs to be available before we use them in error concealment

This could happen when there was a frame number gap and frame threading was used.

This fixes #5458.

Debugging-by: Ronald S. Bultje <rsbultje@gmail.com>
Debugging-by: Justin Ruggles <justin.ruggles@gmail.com>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
libavcodec/h264_slice.c