ref: 1f2f0bc451eb1e915797ee9b753062f3325b1858
parent: 01012058c9d39a5134799aaba263940cdd9bd38d
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Sun Sep 30 18:53:48 EDT 2012
Fix an uninitialized warning from cf594de6. The warning was correct, as far as it goes, but the use was actually harmless.
--- a/src/opusfile.c
+++ b/src/opusfile.c
@@ -2059,7 +2059,7 @@
end=op_granpos_cmp(_target_gp,pcm_pre_skip)<0?begin:link->end_offset;
page_offset=-1;
/*Initialize the interval size history.*/
- d[2]=d[1]=end-begin;
+ d[2]=d[1]=d[0]=end-begin;
force_bisect=0;
while(begin<end){
opus_int64 bisect;