Skip to content

Commit

Permalink
Height calculation was wrong for udp rx.
Browse files Browse the repository at this point in the history
  • Loading branch information
cibomahto committed Jun 12, 2015
1 parent 4ea10cf commit 181a30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/matrix-udp-rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ main(
{
for (unsigned y = 0 ; y < height ; y++)
{
uint32_t * out = &fb[(height*frame_part + y)*width + x];
uint32_t * out = &fb[(height/2*frame_part + y)*width + x];
const uint8_t * in = &buf[1 + 3*(y*width + x)];

uint8_t r = in[0];
Expand Down

0 comments on commit 181a30d

Please sign in to comment.