Fix an uninitialized warning from cf594de6.
authorTimothy B. Terriberry <tterribe@xiph.org>
Mon, 1 Oct 2012 05:53:48 +0000 (22:53 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Mon, 1 Oct 2012 05:53:48 +0000 (22:53 -0700)
The warning was correct, as far as it goes, but the use was
 actually harmless.

src/opusfile.c

index 1a334b9..a699cee 100644 (file)
@@ -2059,7 +2059,7 @@ static int op_pcm_seek_page_impl(OggOpusFile *_of,
   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;