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)
committerWind Yuan <feng.yuan@intel.com>
Fri, 16 Nov 2012 07:03:33 +0000 (15:03 +0800)
commit1431147a4b346597fc456148a18b490250a79fce
tree10085a58b9e231fdfa747d61a2376bccec5a2ef3
parentf68e564098df924cfadfba3e34c50a69b2db8a65
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