From b49e65d928a192d859364f250a7e1e918e332578 Mon Sep 17 00:00:00 2001 From: Saxon Date: Fri, 24 May 2019 10:33:34 +0930 Subject: [PATCH] codec/h264/lex.go: commented buffer size consts --- codec/h264/lex.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codec/h264/lex.go b/codec/h264/lex.go index a5b94bb8..cde1e2e0 100644 --- a/codec/h264/lex.go +++ b/codec/h264/lex.go @@ -159,8 +159,8 @@ outer: // Buffer sizes. const ( - maxAUSize = 100000 - maxRTPSize = 4096 + maxAUSize = 100000 // Max access unit size in bytes. + maxRTPSize = 1500 // Max ethernet transmission unit in bytes. ) // RTPLexer is a lexer for lexing H264 from RTP packets.