picture_fifo: simplify the picture fifo tail handling
Rather than a pointer on the last picture pointer, we use either NULL (no tail/chain empty) or a pointer to the last picture in the chain. Make sure that the pictures we queue don't have a p_next otherwise it would screw the computation of the last. (the issue existed before this patch)
Loading
Please register or sign in to comment