h264_slice: Wait for refs to be available before we use them in error concealment
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Mon, 12 Dec 2016 14:33:27 +0000 (14:33 +0000)
committerAnton Khirnov <anton@khirnov.net>
Wed, 14 Dec 2016 09:38:15 +0000 (10:38 +0100)
commit5c7f2cf81df06614f255f061850132355a01d75e
tree3a701549e7a6c290545aeb97cbd9a8a5109b0261
parent86157e6db2c7a9222f77fa7e7f50fb9aebc3aa81
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.

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>
CC:libav-stable@libav.org
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/h264_slice.c