opus: Use uint16_t for preskip and gain.
[paraslash.git] / opus_common.h
index 2bcf5919f934622278dc2f9ba85b0516cf1d3767..bdc67edd47cc2c446b5bd45a5572a4b81393b5a2 100644 (file)
@@ -16,11 +16,11 @@ struct opus_header {
        /** 1..255 */
        int channels;
        /** Number of bytes to skip from the beginning. */
-       int preskip;
+       uint16_t preskip;
        /** Sample rate of the input stream, used by the audio format handler. */
        ogg_uint32_t input_sample_rate;
        /** In dB, should be zero whenever possible. */
-       int gain;
+       uint16_t gain;
        /** Number of logical streams (usually 1). */
        int nb_streams;
        /** Number of streams to decode as 2 channel streams. */