[xiph-commits] r13916 - trunk/theora/lib/enc
sping at svn.xiph.org
sping at svn.xiph.org
Tue Oct 2 07:38:47 PDT 2007
Author: sping
Date: 2007-10-02 07:38:46 -0700 (Tue, 02 Oct 2007)
New Revision: 13916
Modified:
trunk/theora/lib/enc/encoder_toplevel.c
Log:
Declaration came after code, fixed
Modified: trunk/theora/lib/enc/encoder_toplevel.c
===================================================================
--- trunk/theora/lib/enc/encoder_toplevel.c 2007-09-29 02:24:28 UTC (rev 13915)
+++ trunk/theora/lib/enc/encoder_toplevel.c 2007-10-02 14:38:46 UTC (rev 13916)
@@ -1395,12 +1395,14 @@
void *buf,size_t buf_sz) {
int value;
+ CP_INSTANCE *cpi;
+ PB_INSTANCE *pbi;
if(th == NULL)
return TH_EFAULT;
- CP_INSTANCE *cpi = th->internal_encode;
- PB_INSTANCE *pbi = &cpi->pb;
+ cpi = th->internal_encode;
+ pbi = &cpi->pb;
switch(req) {
case TH_ENCCTL_SET_QUANT_PARAMS:
More information about the commits
mailing list