avcodec/h264_refs: Do not set reference to things which dont exist
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 4 Apr 2015 16:08:23 +0000 (18:08 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 4 Apr 2015 16:25:44 +0000 (18:25 +0200)
commit429de043202286a2b5bcc082cc02de860b734db2
tree5c0f714d5e3060bc4dc82273a371905f8cdb0dd0
parent98c5db89bb7a6b1236124c27da7d1a8812d17a5b
avcodec/h264_refs: Do not set reference to things which dont exist

Fixes deadlock
Fixes Ticket4428
Fixes Ticket4429

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264_refs.c