Skip to content
Snippets Groups Projects
Commit 995ee82f authored by Vipin Thomas's avatar Vipin Thomas
Browse files

Update pixel.cpp

parent 1841b192
No related branches found
No related tags found
No related merge requests found
......@@ -25,13 +25,14 @@ void pixel(
pkt_t pkt=din.read();
count_streams++;
if(p_count==0){
count = 0;
flag=true;
}
if(count == position || count == position+1 || count == position+2){
pkt.data -= 1;
p_count--;
if(p_count==0){
count = 0;
flag=true;
}
}
else if(!flag){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment