remove duplicate calls to visionstream_destroy (#1843)

old-commit-hash: 3754ddf9ba3329dce8b5a1c93111a33095439c87
This commit is contained in:
Dean Lee
2020-07-09 12:47:22 +08:00
committed by GitHub
parent 9c33f51990
commit 7f84cb0e3f
-1
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;
}