shithub: opusfile

Download patch

ref: 94b0c98a61ec055e57802002657269dac1e0ec06
parent: 810024427a7db442e532a3774fb6d77d15e9f57d
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Mon Mar 25 08:00:05 EDT 2013

Minor comment fix.

--- a/src/internal.h
+++ b/src/internal.h
@@ -90,7 +90,7 @@
 /*Advance a file offset by the given amount, clamping against OP_INT64_MAX.
   This is used to advance a known offset by things like OP_CHUNK_SIZE or
    OP_PAGE_SIZE_MAX, while making sure to avoid signed overflow.
-  It assumes that both _offset and _amount are positive.*/
+  It assumes that both _offset and _amount are non-negative.*/
 #define OP_ADV_OFFSET(_offset,_amount) \
  (OP_MIN(_offset,OP_INT64_MAX-(_amount))+(_amount))