Skip to content

Commit

Permalink
VideoBuffers: Remove some unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Kendall committed Apr 11, 2011
1 parent babdfc2 commit 400aba3
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 @@ -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();
Expand Down
1 change: 0 additions & 1 deletion mythtv/libs/libmythtv/videobuffers.h
Expand Up @@ -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;
Expand Down

0 comments on commit 400aba3

Please sign in to comment.