[Ffmpeg-devel] Decleration of clip() function in qpel.c not found.

Reimar Döffinger Reimar.Doeffinger
Thu Apr 19 18:12:59 CEST 2007


Hello,
On Thu, Apr 19, 2007 at 05:27:40PM +0200, Guillaume Poirier wrote:
> Sibnath GHOSH wrote:
> > In qpel.c clip() function has been used. 
> > 
> > \libavcodec\sh4\qpel.c(452): index= src_x + clip(src_y, 0, height)*stride;
> > \libavcodec\sh4\qpel.c(459): index= clip(src_x, 0, width) + src_y*stride;
> > \libavcodec\sh4\qpel.c(584): index= clip(src_x, 0, width) + clip(src_y, 0, height)*stride;
> > 
> > Searching through the source code I found the definition in libavutic/common.h is 
> > static inline int av_clip(int a, int amin, int amax)
> > 
> > Will I have to change the calls to av_clip?
> 
> I'm quite confident that you do. Please run regression tests
> afterwards to confirm that it does what it's supposed to.

My fault, I missed that file during the clip -> av_clip rename, should
be fixed.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list