summaryrefslogtreecommitdiff
path: root/sys/vdpau/h264/gsth264dpb.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-07-14 19:30:45 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-07-14 23:45:52 +0100
commit1972c26bde5f67346fb1677d6d82349dc2956b30 (patch)
tree4dffe1fe927e1885c8137ea3bd00798508e13dde /sys/vdpau/h264/gsth264dpb.c
parentd439f2d38d590a47e60e5b4d7fd7a2f2307beac6 (diff)
downloadgstreamer-plugins-bad-1972c26bde5f67346fb1677d6d82349dc2956b30.tar.gz
vdpau: fix some variable-set-but-unused compiler warnings
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;