From 628844a7218abbdaabc20a517ab63a193e777c86 Mon Sep 17 00:00:00 2001 From: YuLi Date: Fri, 24 Jul 2026 15:45:41 -0700 Subject: [PATCH] docs: correct strict AMF array comment --- src/Rtmp/amf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rtmp/amf.cpp b/src/Rtmp/amf.cpp index 5be6fdef..2cb4c994 100644 --- a/src/Rtmp/amf.cpp +++ b/src/Rtmp/amf.cpp @@ -679,7 +679,7 @@ AMFValue AMFDecoder::load_ecma() { } AMFValue AMFDecoder::load_arr() { DepthGuard depth_guard(*this); - /* ECMA array is the same as object, with 4 extra zero bytes */ + /* Strict array is a count-prefixed list of AMF values. */ AMFValue object(AMF_STRICT_ARRAY); if (pop_front() != AMF0_STRICT_ARRAY) { throw std::runtime_error("Expected an STRICT array");