changeset 22339:2387057d3e14

compilation fix clip_uint8 -> av_clip_uint8
author rik
date Tue, 27 Feb 2007 15:07:44 +0000
parents 434cd072b0d3
children d1ff13042a2a
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 Feb 27 01:16:59 2007 +0000
+++ b/libmpcodecs/vf_zrmjpeg.c	Tue Feb 27 15:07:44 2007 +0000
@@ -530,7 +530,7 @@
 	// 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
--- a/libvo/jpeg_enc.c	Tue Feb 27 01:16:59 2007 +0000
+++ b/libvo/jpeg_enc.c	Tue Feb 27 15:07:44 2007 +0000
@@ -369,7 +369,7 @@
 
 	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);