summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2011-04-11 01:33:24 (GMT)
committer Taylor Ralph <tralph@mythtv.org>2011-05-11 13:08:27 (GMT)
commit32882b2fdd91883826dcc3a15ce32ae67e7aa9c8 (patch)
tree5d010f2e383d9f81ae73c476826d2a665c8c3e96
parent5867bb003d6125520121c7309531a5bf9d322aef (diff)
VideoBuffers: Remove some unused code.
(cherry picked from commit 400aba3f27f2c6e0d712ae3a870df0e8c92b292f)
-rw-r--r--mythtv/libs/libmythtv/videobuffers.cpp4
-rw-r--r--mythtv/libs/libmythtv/videobuffers.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/mythtv/libs/libmythtv/videobuffers.cpp b/mythtv/libs/libmythtv/videobuffers.cpp
index b3f793e..4442c76 100644
--- a/mythtv/libs/libmythtv/videobuffers.cpp
+++ b/mythtv/libs/libmythtv/videobuffers.cpp
@@ -1304,10 +1304,6 @@ void VideoBuffers::DeleteBuffers()
}
}
- for (uint i = 0; i < allocated_structs.size(); i++)
- delete allocated_structs[i];
- allocated_structs.clear();
-
for (uint i = 0; i < allocated_arrays.size(); i++)
av_free(allocated_arrays[i]);
allocated_arrays.clear();
diff --git a/mythtv/libs/libmythtv/videobuffers.h b/mythtv/libs/libmythtv/videobuffers.h
index 43f1eb3..6c751a2 100644
--- a/mythtv/libs/libmythtv/videobuffers.h
+++ b/mythtv/libs/libmythtv/videobuffers.h
@@ -171,7 +171,6 @@ class VideoBuffers
frame_queue_t available, used, limbo, pause, displayed, decode, finished;
vbuffer_map_t vbufferMap; // videobuffers to buffer's index
frame_vector_t buffers;
- uchar_vector_t allocated_structs; // for DeleteBuffers
uchar_vector_t allocated_arrays; // for DeleteBuffers
frame_map_t parents; // prev & future frames
frame_map_t children; // frames that depend on a parent frame