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.

(cherry picked from commit 400aba3)
  • Loading branch information...
commit 32882b2fdd91883826dcc3a15ce32ae67e7aa9c8 1 parent 5867bb0
Mark Kendall authored tralph committed
4 mythtv/libs/libmythtv/videobuffers.cpp
View
@@ -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();
1  mythtv/libs/libmythtv/videobuffers.h
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.