From 9b01aad22072d94a57db54bb5e5ab472d8d1d8db Mon Sep 17 00:00:00 2001 From: synote Date: Fri, 28 Aug 2015 11:43:55 +0800 Subject: [PATCH] fix bug for build failure when configure with --log-info wrong use of size in SrsStream::initialize of srs_kernel_stream.cpp --- trunk/src/kernel/srs_kernel_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/kernel/srs_kernel_stream.cpp b/trunk/src/kernel/srs_kernel_stream.cpp index 309c4b8f1e..7b1281d339 100644 --- a/trunk/src/kernel/srs_kernel_stream.cpp +++ b/trunk/src/kernel/srs_kernel_stream.cpp @@ -60,7 +60,7 @@ int SrsStream::initialize(char* b, int nb) nb_bytes = nb; p = bytes = b; - srs_info("init stream ok, size=%d", size); + srs_info("init stream ok, size=%d", size()); return ret; }