Skip to content

Commit

Permalink
fix bug in framer that causes the occasional segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Foster committed Jun 2, 2011
1 parent e9cf22e commit ebd74a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/air_modes_framer.cc
Expand Up @@ -64,6 +64,7 @@ int air_modes_framer::work(int noutput_items,
float *outraw = (float *) output_items[0];
//unsigned char *outattrib = (unsigned char *) output_items[0];
int size = noutput_items - d_check_width*2;
if(size < 0) return 0;
float reference_level;
framer_packet_type packet_attrib;
std::vector<pmt::pmt_t> tags;
Expand Down

0 comments on commit ebd74a2

Please sign in to comment.