summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2011-04-11 01:33:24 (GMT)
committer Mark Kendall <mkendall@mythtv.org>2011-04-11 01:33:24 (GMT)
commit400aba3f27f2c6e0d712ae3a870df0e8c92b292f (patch)
tree342697e4a9aa4481b6e8bf52e422241750ede5db
parentbabdfc2877e1f8bf1b1a9791ad6afdcdd24abb4c (diff)
VideoBuffers: Remove some unused code.
-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 12c0bbf..c4d6472 100644
--- a/mythtv/libs/libmythtv/videobuffers.cpp
+++ b/mythtv/libs/libmythtv/videobuffers.cpp
@@ -793,10 +793,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 9b91f7e..ead7695 100644
--- a/mythtv/libs/libmythtv/videobuffers.h
+++ b/mythtv/libs/libmythtv/videobuffers.h
@@ -137,7 +137,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
uint numbuffers;