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)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 24 Oct 2013 21:15:30 +0000 (23:15 +0200)
commit29ffeef5e73b8f41ff3a3f2242d356759c66f91f
tree8516c935aaff78eb822679a56cb57bd3c231ed3a
parentda54ad9a7208534f39939ee3700f1ccfea92a69d
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>
libavcodec/h264.c