Removed some useless comments, thank Neko.

This commit is contained in:
luxsie 2015-04-11 00:27:20 +08:00
parent e4a2a60f55
commit 147c50e7ca
2 changed files with 1 additions and 3 deletions

View file

@ -258,8 +258,7 @@ public:
sync_var.atomic_op([&out_result, &out_value, &out_count, last_value](sync_var_t& data)
{
// TODO:: Syphurith: I don't know what you tried to express, exactly.
if ((out_result = data.count != 0))
if (out_result = (data.count != 0))
{
out_value = data.value0;
out_count = --data.count;

View file

@ -148,7 +148,6 @@ void ElementaryStream::push_au(u32 size, u64 dts, u64 pts, u64 userdata, bool ra
u32 addr;
{
std::lock_guard<std::mutex> lock(m_mutex);
// TODO:: Syphurith: Should us convert this to a if statement? Since Asserts aren't included in Release builds.
assert(!is_full(size));
if (put + size + 128 > memAddr + memSize)