Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

VideoBuffers: Remove some unused code.

  • Loading branch information...
commit 400aba3f27f2c6e0d712ae3a870df0e8c92b292f 1 parent babdfc2
Mark Kendall authored
4 mythtv/libs/libmythtv/videobuffers.cpp
View
@@ -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();
1  mythtv/libs/libmythtv/videobuffers.h
View
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.