diff options
author | Josh Blum <josh@joshknows.com> | 2010-12-22 12:04:55 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-22 12:04:55 -0800 |
commit | b6983381e46f5bb1156da2e40580a97fd09b9e37 (patch) | |
tree | c91eef6ccdba5493429b2376ef1e3c3343cc5a36 /host/lib/transport | |
parent | 37365d1c93ad330a71fa2f6640fe9ce9a7aedad8 (diff) | |
download | uhd-b6983381e46f5bb1156da2e40580a97fd09b9e37.tar.gz uhd-b6983381e46f5bb1156da2e40580a97fd09b9e37.tar.bz2 uhd-b6983381e46f5bb1156da2e40580a97fd09b9e37.zip |
udp_ports: added message handling to alignment code
Diffstat (limited to 'host/lib/transport')
-rw-r--r-- | host/lib/transport/vrt_packet_handler.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/transport/vrt_packet_handler.hpp b/host/lib/transport/vrt_packet_handler.hpp index 278bcfeaa..7f8d84308 100644 --- a/host/lib/transport/vrt_packet_handler.hpp +++ b/host/lib/transport/vrt_packet_handler.hpp @@ -91,6 +91,7 @@ template <typename T> UHD_INLINE T get_context_code( //vrt unpack each managed buffer uhd::transport::vrt::if_packet_info_t if_packet_info; for (size_t i = 0; i < state.width; i++){ + if (state.managed_buffs[i].get() == NULL) continue; //better have a message packet coming up... //extract packet words and check thats its enough to move on size_t num_packet_words32 = state.managed_buffs[i]->size()/sizeof(boost::uint32_t); |