From d892dff4cac95f1b6692d7821a2006679a554aaf Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期三, 28 六月 2017 09:56:10 +0800 Subject: [PATCH] modify proto --- FaceServer/proto_hton_ntoh.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/FaceServer/proto_hton_ntoh.cpp b/FaceServer/proto_hton_ntoh.cpp index 02ce433..6abf5c2 100644 --- a/FaceServer/proto_hton_ntoh.cpp +++ b/FaceServer/proto_hton_ntoh.cpp @@ -40,6 +40,7 @@ mb_type = htons(mb_type); width = htons(width); height = htons(height); + size = htons(size); } void FDP_Image::ntoh() @@ -48,6 +49,7 @@ mb_type = ntohs(mb_type); width = ntohs(width); height = ntohs(height); + size = ntohs(size); } void FDP_FaceDetectPB::hton() -- Gitblit v1.8.0