avcodec/h264: do not trust last_pic_droppable when marking pictures as done
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Oct 2013 21:11:41 +0000 (23:11 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 25 Oct 2013 22:50:00 +0000 (00:50 +0200)
commitcd7d575e90ceada5a9914d029124388d4993cc9e
tree2eb22f736471b49a0ac07a18efa5ab2dcdb5a260
parent17d169ce0f0786fffa9e6d685f070bb331717950
avcodec/h264: do not trust last_pic_droppable when marking pictures as done

This simplifies the code and fixes a deadlock

Fixes Ticket2927
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 29ffeef5e73b8f41ff3a3f2242d356759c66f91f)
libavcodec/h264.c