h264: move the default_ref_list_done check down after its inputs have been written
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Mar 2013 18:10:04 +0000 (19:10 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 30 Mar 2013 19:28:00 +0000 (20:28 +0100)
commit11c3381ce3c353a4dadf9def6232e7604b0c5d2b
tree2c0446a7dc29cc73af6c1780a867570c8ff3fa3a
parent3f2ce24f590857ea2e4db0049ed971e00a8cdac5
h264: move the default_ref_list_done check down after its inputs have been written

Fixes out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/h264.c