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>
Wed, 14 Nov 2012 16:39:19 +0000 (17:39 +0100)
commitc59d9355058914d10acde5071e4ecbd604dba154
tree80696bf43adfa036ebf0953a252dc9fbee982a1e
parente11f815b0d0c5b6c77550ae016a1989e58a35b4b
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