[MPlayer-cvslog] r22357 - in trunk: libmpcodecs/vf_zrmjpeg.c libvo/jpeg_enc.c

rik subversion at mplayerhq.hu
Tue Feb 27 16:07:44 CET 2007


Author: rik
Date: Tue Feb 27 16:07:44 2007
New Revision: 22357

Modified:
   trunk/libmpcodecs/vf_zrmjpeg.c
   trunk/libvo/jpeg_enc.c

Log:
compilation fix clip_uint8 -> av_clip_uint8


Modified: trunk/libmpcodecs/vf_zrmjpeg.c
==============================================================================
--- trunk/libmpcodecs/vf_zrmjpeg.c	(original)
+++ trunk/libmpcodecs/vf_zrmjpeg.c	Tue Feb 27 16:07:44 2007
@@ -530,7 +530,7 @@ static jpeg_enc_t *jpeg_enc_init(int w, 
 	// Init q matrix
 	j->s->intra_matrix[0] = ff_mpeg1_default_intra_matrix[0];
 	for (i = 1; i < 64; i++)
-		j->s->intra_matrix[i] = clip_uint8(
+		j->s->intra_matrix[i] = av_clip_uint8(
 			(ff_mpeg1_default_intra_matrix[i]*j->s->qscale) >> 3);
 
 	// precompute matrix

Modified: trunk/libvo/jpeg_enc.c
==============================================================================
--- trunk/libvo/jpeg_enc.c	(original)
+++ trunk/libvo/jpeg_enc.c	Tue Feb 27 16:07:44 2007
@@ -369,7 +369,7 @@ jpeg_enc_t *jpeg_enc_init(int w, int h, 
 
 	j->s->intra_matrix[0] = ff_mpeg1_default_intra_matrix[0];
 	for (i = 1; i < 64; i++) 
-		j->s->intra_matrix[i] = clip_uint8(
+		j->s->intra_matrix[i] = av_clip_uint8(
 			(ff_mpeg1_default_intra_matrix[i]*j->s->qscale) >> 3);
 	convert_matrix(j->s, j->s->q_intra_matrix, j->s->q_intra_matrix16, 
 			j->s->intra_matrix, j->s->intra_quant_bias, 8, 8);



More information about the MPlayer-cvslog mailing list