CVE-2017-14633: Don't allow for more than 256 channels
[platform/upstream/libvorbis.git] / test / write_read.h
index b95d001..c50c483 100644 (file)
  ********************************************************************
 
  function: utility functions for vorbis codec test suite.
- last mod: $Id: util.c 13293 2007-07-24 00:09:47Z erikd $
 
  ********************************************************************/
 
 /* Write supplied data to an Ogg/Vorbis file with specified filename at
  * specified sample rate. Assumes a single channel of audio. */
-void write_vorbis_data_or_die (const char *filename, int srate,
-                        const float * data, int count) ;
+void write_vorbis_data_or_die (const char *filename, int srate, float q,
+                               const float * data, int count, int ch) ;
 
 /* Read given Ogg/Vorbis file into data specified data array. This
  * function is basically the inverse of the one above. Again, assumes