changeset 33839:22855f9368b4

vf_zrmjpeg: fix compilation after function templatization in libavcodec
author diego
date Wed, 27 Jul 2011 13:39:57 +0000
parents 35a9729e2eba
children dac9d4f90e89
files libmpcodecs/vf_zrmjpeg.c libvo/jpeg_enc.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_zrmjpeg.c	Tue Jul 26 10:50:22 2011 +0000
+++ b/libmpcodecs/vf_zrmjpeg.c	Wed Jul 27 13:39:57 2011 +0000
@@ -111,7 +111,7 @@
 
 	for(qscale = qmin; qscale <= qmax; qscale++) {
 		int i;
-		if (s->dsp.fdct == ff_jpeg_fdct_islow) {
+		if (s->dsp.fdct == ff_jpeg_fdct_islow_8) {
 			for (i = 0; i < 64; i++) {
 				const int j = s->dsp.idct_permutation[i];
 /* 16 <= qscale * quant_matrix[i] <= 7905
--- a/libvo/jpeg_enc.c	Tue Jul 26 10:50:22 2011 +0000
+++ b/libvo/jpeg_enc.c	Wed Jul 27 13:39:57 2011 +0000
@@ -68,7 +68,7 @@
 
     for(qscale=qmin; qscale<=qmax; qscale++){
         int i;
-	if (s->dsp.fdct == ff_jpeg_fdct_islow) {
+	if (s->dsp.fdct == ff_jpeg_fdct_islow_8) {
 		for (i = 0; i < 64; i++) {
 			const int j = s->dsp.idct_permutation[i];
 			/* 16    <= qscale * quant_matrix[i] <= 7905