diff --git a/src/carriers/h264_carrier/CMakeLists.txt b/src/carriers/h264_carrier/CMakeLists.txt index 51072bdc77d..38087b713eb 100644 --- a/src/carriers/h264_carrier/CMakeLists.txt +++ b/src/carriers/h264_carrier/CMakeLists.txt @@ -27,7 +27,6 @@ if(NOT SKIP_h264) PRIVATE YARP::YARP_os YARP::YARP_sig - YARP::YARP_wire_rep_utils ) list(APPEND YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS YARP_os diff --git a/src/carriers/h264_carrier/H264Stream.cpp b/src/carriers/h264_carrier/H264Stream.cpp index e74888ae96a..3fb69ef19fd 100644 --- a/src/carriers/h264_carrier/H264Stream.cpp +++ b/src/carriers/h264_carrier/H264Stream.cpp @@ -27,7 +27,6 @@ using namespace yarp::sig; H264Stream::H264Stream(h264Decoder_cfgParamters &config) : delegate(nullptr), - blobHeader{0,0,0}, phase(0), cursor(nullptr), remaining(0), @@ -123,7 +122,7 @@ yarp::conf::ssize_t H264Stream::read(Bytes& b) { phase = 4; cursor = nullptr; - remaining = blobHeader.blobLen; + remaining = 0; } else { phase = 0; diff --git a/src/carriers/h264_carrier/H264Stream.h b/src/carriers/h264_carrier/H264Stream.h index d89377cdfdd..d60330adee8 100644 --- a/src/carriers/h264_carrier/H264Stream.h +++ b/src/carriers/h264_carrier/H264Stream.h @@ -9,7 +9,6 @@ #include #include #include -#include #include "H264Decoder.h" #include @@ -22,7 +21,6 @@ class H264Stream : DgramTwoWayStream *delegate; yarp::sig::ImageOf img; yarp::sig::ImageNetworkHeader imgHeader; - yarp::wire_rep_utils::BlobNetworkHeader blobHeader; int phase; char *cursor; size_t remaining; diff --git a/src/carriers/websocket/CMakeLists.txt b/src/carriers/websocket/CMakeLists.txt index 2facdb4b98f..4f1c2f20cf1 100644 --- a/src/carriers/websocket/CMakeLists.txt +++ b/src/carriers/websocket/CMakeLists.txt @@ -45,12 +45,10 @@ if(NOT SKIP_websocket) PRIVATE YARP::YARP_os YARP::YARP_sig - YARP::YARP_wire_rep_utils ) list(APPEND YARP_${YARP_PLUGIN_MASTER}_PRIVATE_DEPS YARP_os YARP_sig - YARP_wire_rep_utils ) yarp_install(