[vorbis] Re: Different average bitrates on different machines

Cameron Simpson cs at zip.com.au
Mon Dec 10 14:29:45 PST 2001



On Mon, Dec 10, 2001 at 03:30:24AM -0500, Monty <xiphmont at xiph.org> wrote:
| > BTW, has anyone done a scan of the source with gcc 3.x with the
| > -Wsequence-point warning enabled? There's been a fair bit of discussion
| > recently about dodgy code doing things like:
| > 	a[i]=f(i++)
| > which gives undefined results. That really could screw up encoding algorithms.
| That's not 'dodgy', it's an outright error.  No C programmer should
| ever even think of the above code being acceptable.

Naturally not, but sometimes they creep in. There was a thread in the
Linux-Kernel list about such code just recently. Since gcc-3.x has a
sequence point checker for this kind of issue, I'll make a pass over
the code with it on just on principle sometime this week (since I have
to rebuild oggenc et al to look for a bug anyway).

--
Cameron Simpson, DoD#743        cs at zip.com.au    http://www.zip.com.au/~cs/

--
The mark must be robust enough to survive MP3 transmission over the Internet,
but remain inaudible when played on the yet to be launched DVD-Audio players.
- the SDMI audio watermarkers literally ask for the impossible, since all
  audio compressors aim to pass _only_ human perceptible data
  http://www.newscientist.com/news/news.jsp?id=ns224836

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.




More information about the Vorbis mailing list