Current code misses to store the signum of the (average)
difference of server time and local time.
- mp3dec: Fix decoding of corrupt mp3 files
- para_audiod/para_filter: Fix a bug that caused the last chunk
of audio data not being written under certain circumstances
+ - audiod: compute the difference of server time and local time
+ correctly
-------------------------------------------
0.2.14 (2006-10-15) "transient singularity"
sa_time_diff_sign = sign;
stat_task->sa_time_diff = diff;
count++;
- return;
+ goto out;
}
if (count > 5) {
int s = tv_diff(&diff, &stat_task->sa_time_diff, &tmp);
sa_time_diff_sign ? "+" : "-",
tv2ms(&stat_task->sa_time_diff)
);
+out:
+ stat_task->sa_time_diff_sign = sa_time_diff_sign;
}
static void check_stat_line(char *line)