Commit f58cee92 authored by Hamad Kadmany's avatar Hamad Kadmany
Browse files

media: dvb: Fix calculation of next ready packet in dvb-ringbuffer



The calculation of number of bytes between the last reported
packet to the user and the current read pointer did not properly
take into account wrap-around case in the packet buffer.
Debug printouts for values returned by dvb-ringbuffer were
added for better traceability.

CRs-Fixed: 470982
Change-Id: I2765f5b1e0fbb7baed6725f2617702dd7ed87556
Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent 8c6c8975
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment