remove duplicate calls to visionstream_destroy (#1843)

pull/1847/head
Dean Lee 2020-07-09 12:47:22 +08:00 committed by GitHub
parent 11fbe85c14
commit 3754ddf9ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}