Bug#775983: oggenc: low --resample rate -> double free or corruption

Petter Reinholdtsen pere at hungry.com
Thu Sep 24 21:15:47 UTC 2015

[Jakub Wilk 2015-01-22]
> I tried to resample the input file to a very low rate, but oggenc
> crashed:

This no longer happen with version 1.4.0-6 on my machine, at least.
Now I get an error instead:

  % oggenc --resample=500 test.wav 
  Opening with wav module: WAV file reader
  Resampling input from 8000 Hz to 500 Hz
  Encoding "test.wav" to 
  at quality 3.00
  BUG: Got zero samples from resampler: your file will be truncated. Please report this.

  Done encoding file "test.ogg"

          File length:  0m 00.0s
          Elapsed time: 0m 00.0s
          Rate:         0.0000
          Average bitrate: inf kb/s


Is there something special about the input file?  How was it created?

Happy hacking
Petter Reinholdtsen

More information about the pkg-xiph-maint mailing list