h.264 ref list reordering bugfix patch by (Loren Merritt <lorenm at u dot washington...