ref: 56d33b2c9866b8cc28a610ba8023d39946675a8a
parent: aad0409ac395afd76e9063c18bd7ce21bc52e21c
author: sezero <sezero@users.sourceforge.net>
date: Tue Mar 7 06:11:10 EST 2017
Fix minor typo in return type of op_serialno() If, e.g. using a differently configured config_types.h with a long vs. int conflict in the int32 typedef, this would have resulted in a build failure. Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org>
--- a/src/opusfile.c
+++ b/src/opusfile.c
@@ -1704,7 +1704,7 @@
return _of->nlinks;
}
-ogg_uint32_t op_serialno(const OggOpusFile *_of,int _li){
+opus_uint32 op_serialno(const OggOpusFile *_of,int _li){
if(OP_UNLIKELY(_li>=_of->nlinks))_li=_of->nlinks-1;
if(!_of->seekable)_li=0;
return _of->links[_li<0?_of->cur_link:_li].serialno;