h264: make sure the current picture is not made a long ref multiple times
authorAnton Khirnov <anton@khirnov.net>
Fri, 8 May 2015 17:07:10 +0000 (19:07 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 27 Jun 2015 14:46:01 +0000 (16:46 +0200)
commit6d4d3fee63c46d921c4870feab79269af94e84e1
tree689252383642773a63da81cc6fdc7f911f56770c
parent9a5e4fbec870c7d466b7a0aec92c70778efc96b5
h264: make sure the current picture is not made a long ref multiple times

Fixes possible invalid reads, once one of those refs is freed, but the
others remain.
CC: libav-stable@libav.org
libavcodec/h264_refs.c