avcodec/vp9: mark frame as finished on decode_tiles() failure
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Dec 2017 01:02:55 +0000 (02:02 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Dec 2017 23:08:56 +0000 (00:08 +0100)
commit5e03eea673a9da2253ed15152e46b1422b35d145
tree39ddc4accef8027d276e2e4eca49d430f180bad3
parent1c76134fe37ac20695627e3f5ce1f2bbf1245fcc
avcodec/vp9: mark frame as finished on decode_tiles() failure

Fixes deadlock with framethreads
Fixes: Netflix_Aerial_1080p_60fps_8bit_420.y4m.vp9.noaltref.webm.ivf.s69372_r01-05_b6-.ivf
Fixes: Netflix_Aerial_1080p_60fps_10bit_420.y4m.vp9.noaltref.webm.ivf.s149104_r01-05_b6-.ivf
Fixes: ducks_take_off_444_720p50.y4m.vp9.webm.ivf.s107375_r01-05_b6-.ivf

Reported-by: James Zern <jzern@google.com>
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/vp9.c