Skip to content

Commit

Permalink
VideoBuffers: Remove some unused code.
Browse files Browse the repository at this point in the history
(cherry picked from commit 400aba3)
  • Loading branch information
Mark Kendall authored and tralph committed May 11, 2011
1 parent 5867bb0 commit 32882b2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions mythtv/libs/libmythtv/videobuffers.cpp
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion mythtv/libs/libmythtv/videobuffers.h
Expand Up @@ -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
Expand Down

0 comments on commit 32882b2

Please sign in to comment.