diff libmpcodecs/vd_libmpeg2.c @ 9925:420640a0f6d0

passing qscale_type around so the pp code can fix the mpeg2 <<1 thing
author michael
date Fri, 18 Apr 2003 13:18:59 +0000
parents 4e5af551f8d0
children 6f293e709a39
line wrap: on
line diff
--- a/libmpcodecs/vd_libmpeg2.c	Fri Apr 18 12:16:35 2003 +0000
+++ b/libmpcodecs/vd_libmpeg2.c	Fri Apr 18 13:18:59 2003 +0000
@@ -150,6 +150,7 @@
 	    mpeg2dec->decoder.quant_store=mpi->qscale;
 	    mpeg2dec->decoder.quant_stride=mpi->qstride;
 	    mpi->pict_type=type; // 1->I, 2->P, 3->B
+	    mpi->qscale_type= 1;
 #endif
 
 	    if(mpi->flags&MP_IMGFLAG_DRAW_CALLBACK &&