|
@@ -541,7 +541,7 @@ static int msm_compr_read_buffer(struct msm_compr_audio *prtd)
|
|
|
return ret;
|
|
|
}
|
|
|
prtd->bytes_read += buffer_length;
|
|
|
- prtd->bytes_read_offset += buffer_length;
|
|
|
+ prtd->bytes_read_offset += buffer_length + prtd->ts_header_offset;
|
|
|
if (prtd->bytes_read_offset >= prtd->buffer_size)
|
|
|
prtd->bytes_read_offset -= prtd->buffer_size;
|
|
|
|