Refactor code

This commit is contained in:
xia-chu
2024-03-22 20:36:09 +08:00
committed by 夏楚
parent e972ec5a22
commit 49ddde28c0
3 changed files with 10 additions and 16 deletions

View File

@@ -18,14 +18,6 @@
using namespace std;
using namespace toolkit;
#define CHECK_RET(...) \
try { \
CHECK(__VA_ARGS__); \
} catch (AssertFailedException & ex) { \
WarnL << ex.what(); \
return; \
}
namespace mediakit {
void H265RtmpDecoder::inputRtmp(const RtmpPacket::Ptr &pkt) {