[FFmpeg-devel] [PATCH] Implement PAFF in H.264
    Andreas Öman 
    andreas
       
    Wed Sep 19 17:56:30 CEST 2007
    
    
  
hmm..
Andreas ?man wrote:
> ------------------------------------------------------------------------
> 
> Index: libavcodec/utils.c
> ===================================================================
> --- libavcodec/utils.c	(revision 10533)
> +++ libavcodec/utils.c	(working copy)
> @@ -393,7 +393,7 @@
>  int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, void *arg2),void **arg, int *ret, int count){
>      int i;
>  
> -    for(i=0; i<count; i++){
> +    for(i=count-1; i>=0; i++){
It should be i-- of course..
>          int r= func(c, arg[i]);
>          if(ret) ret[i]= r;
>      }
    
    
More information about the ffmpeg-devel
mailing list