flac: Fix encoder and decode progress messages with --ogg.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 28 Jun 2014 11:40:59 +0000 (21:40 +1000)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sat, 28 Jun 2014 12:25:18 +0000 (22:25 +1000)
commit1d12d98edaa4beb591f876abd13e1c93dc5def7c
treeef996e5a147335ca5d8fbfb853b8c6423af04251
parenta5c3a37c2a56a96af2dbb5553668f7684a15ab86
flac: Fix encoder and decode progress messages with --ogg.

Problem discussed here:

   http://lists.xiph.org/pipermail/flac-dev/2014-June/004808.html

The values for the interval between two updates (e->stats_mask,
e->stats_frames_interval) were set ~10 years ago, and it is small
for current CPUs. It was now been increased too (0x3f -> 0xff, etc).
The update interval is still less than 1 second.

Patch-from: lvqcl <lvqcl.mail@gmail.com>
src/flac/decode.c
src/flac/encode.c