shithub: opusfile

Download patch

ref: a5a9911640f2bda3f33f28edc5698e28e5f17c0b
parent: e0ab29d482cc10d880d1fac7e6c5c2a0c12ca056
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Wed Aug 28 19:56:16 EDT 2013

Mark op_set_gain_offset() as not taking NULL.

--- a/include/opusfile.h
+++ b/include/opusfile.h
@@ -1775,7 +1775,7 @@
    \return 0 on success or a negative value on error.
    \retval #OP_EINVAL The \a _gain_type was unrecognized.*/
 int op_set_gain_offset(OggOpusFile *_of,
- int _gain_type,opus_int32 _gain_offset_q8);
+ int _gain_type,opus_int32 _gain_offset_q8) OP_ARG_NONNULL(1);
 
 /**Reads more samples from the stream.
    \note Although \a _buf_size must indicate the total number of values that