loggerd/RawLogger: fix memory leak in encode_frame (#22826)

old-commit-hash: 0bd9aed82c2dfbf2c3cfe5aba7cd6b980a5fc97e
This commit is contained in:
Dean Lee
2021-11-09 07:27:51 +08:00
committed by GitHub
parent 4e14bb0b38
commit 48ed0e129e
+1
View File
@@ -149,5 +149,6 @@ int RawLogger::encode_frame(const uint8_t *y_ptr, const uint8_t *u_ptr, const ui
}
}
av_packet_unref(&pkt);
return ret;
}