[xiph-commits] r14582 - branches/theora-thusnelda/lib/dec

msmith at svn.xiph.org msmith at svn.xiph.org
Wed Mar 12 10:33:35 PDT 2008


Author: msmith
Date: 2008-03-12 10:33:35 -0700 (Wed, 12 Mar 2008)
New Revision: 14582

Modified:
   branches/theora-thusnelda/lib/dec/decode.c
Log:
Initialise (to off) the telemetry modes, so that we don't get them turned 
on at random depending on uninitialised bits of memory


Modified: branches/theora-thusnelda/lib/dec/decode.c
===================================================================
--- branches/theora-thusnelda/lib/dec/decode.c	2008-03-12 17:13:29 UTC (rev 14581)
+++ branches/theora-thusnelda/lib/dec/decode.c	2008-03-12 17:33:35 UTC (rev 14582)
@@ -256,6 +256,9 @@
   _dec->variances=NULL;
   _dec->pp_frame_data=NULL;
   _dec->telemetry_frame_data=NULL;
+  _dec->telemetry = 0;
+  _dec->telemetry_mv = 0;
+  _dec->telemetry_mbmode = 0;
   _dec->stripe_cb.ctx=NULL;
   _dec->stripe_cb.stripe_decoded=NULL;
   return 0;



More information about the commits mailing list