summaryrefslogtreecommitdiff
path: root/sys/vdpau/h264/gsth264dpb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vdpau/h264/gsth264dpb.c')
-rw-r--r--sys/vdpau/h264/gsth264dpb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/vdpau/h264/gsth264dpb.c b/sys/vdpau/h264/gsth264dpb.c
index 71a04e963..4fadc171c 100644
--- a/sys/vdpau/h264/gsth264dpb.c
+++ b/sys/vdpau/h264/gsth264dpb.c
@@ -132,13 +132,10 @@ gst_h264_dpb_bump (GstH264DPB * dpb, guint poc, GstFlowReturn * ret)
GstFlowReturn
gst_h264_dpb_add (GstH264DPB * dpb, GstH264Frame * h264_frame)
{
- GstH264Frame **frames;
GstFlowReturn ret;
GST_DEBUG ("add frame with poc: %d", h264_frame->poc);
- frames = dpb->frames;
-
if (h264_frame->is_reference && h264_frame->is_long_term &&
(h264_frame->frame_idx > dpb->max_longterm_frame_idx))
h264_frame->is_reference = FALSE;