h264: split remove_reference_at() into finer units.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 13 Nov 2012 15:35:30 +0000 (16:35 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 16 Nov 2012 15:50:31 +0000 (16:50 +0100)
commitead5043e8f7a767a5d21e22266bdce52c40cd00e
tree876738e89007422194f922b88210f557464c2587
parent1f183e52172aa45110dceb2a93c201dbf76c8c97
h264: split remove_reference_at() into finer units.

Split remove_reference_at() into a function that actually removes the
specified entry from the short-term or long-term reference picture array,
and a function that sets reference flags to the desired value, possibly
zero. The latters marks the picture as "unused for reference".
gst-libs/gst/vaapi/gstvaapidecoder_h264.c