From 2086f73d278d7632e3d4181b2442c9eb30d71785 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 12 Jan 2011 16:11:37 -0800 Subject: uhd: fix size param error when getting a convert routine in pkt handler --- host/lib/transport/vrt_packet_handler.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host/lib/transport/vrt_packet_handler.hpp b/host/lib/transport/vrt_packet_handler.hpp index 0507ae328..c535edd04 100644 --- a/host/lib/transport/vrt_packet_handler.hpp +++ b/host/lib/transport/vrt_packet_handler.hpp @@ -238,7 +238,7 @@ template UHD_INLINE T get_context_code( ){ uhd::convert::function_type converter( uhd::convert::get_converter_otw_to_cpu( - io_type, otw_type, 1, buffs.size() + io_type, otw_type, 1, chans_per_otw_buff )); switch(recv_mode){ @@ -374,7 +374,7 @@ template UHD_INLINE T get_context_code( ){ uhd::convert::function_type converter( uhd::convert::get_converter_cpu_to_otw( - io_type, otw_type, buffs.size(), 1 + io_type, otw_type, chans_per_otw_buff, 1 )); //translate the metadata to vrt if packet info -- cgit v1.2.3