diff libmpcodecs/vd_svq1.c @ 6511:a2086150099b

use libavcodec's get_bits() code (optional, disabled by default) unfortunatelly it's much slower :( and teh ALT version just sig11s :(( ideas?
author arpi
date Sun, 23 Jun 2002 00:50:27 +0000
parents 762d3cf8da36
children adc50c83986d
line wrap: on
line diff
--- a/libmpcodecs/vd_svq1.c	Sat Jun 22 23:58:15 2002 +0000
+++ b/libmpcodecs/vd_svq1.c	Sun Jun 23 00:50:27 2002 +0000
@@ -59,7 +59,7 @@
     
     if(len<=0) return NULL; // skipped frame
     
-    ret=svq1_decode_frame(svq1,data);
+    ret=svq1_decode_frame(svq1,data,len);
     
     mpi=mpcodecs_get_image(sh, MP_IMGTYPE_EXPORT, MP_IMGFLAG_PRESERVE, 
 	sh->disp_w, sh->disp_h);