Update transcoder.cc

This commit is contained in:
icetd 2024-10-12 23:51:23 +08:00 committed by GitHub
parent 84d73f09c3
commit 9979af232a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,8 +70,7 @@ void TransCoder::init()
void TransCoder::run()
{
timeval tv;
for (;;)
{
for (;;) {
tv.tv_sec = 1;
tv.tv_usec = 0;
int startCode = 0;