remove duplicate calls to visionstream_destroy (#1843)
parent
11fbe85c14
commit
3754ddf9ba
|
@ -162,7 +162,6 @@ void encoder_thread(bool is_streaming, bool raw_clips, bool front) {
|
|||
VIPCBuf* buf = visionstream_get(&stream, &extra);
|
||||
if (buf == NULL) {
|
||||
LOG("visionstream get failed");
|
||||
visionstream_destroy(&stream);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue