On Wed, Jun 22, 2011 at 02:34:25AM -0700, Jason Garrett-Glaser wrote:
> Coefficient test for i16x16 add_pixels4 assumed luma plane.
> ---
>  libavcodec/h264.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libavcodec/h264.c b/libavcodec/h264.c
> index dc4acb8..f590d7b 100644
> --- a/libavcodec/h264.c
> +++ b/libavcodec/h264.c
> @@ -1744,7 +1744,7 @@ static av_always_inline void 
> hl_decode_mb_idct_luma(H264Context *h, int mb_type,
>                          
> h->hpc.pred16x16_add[h->intra16x16_pred_mode](dest_y, block_offset, h->mb + 
> (p*256 << pixel_shift), linesize);
>                      }else{
>                          for(i=0; i<16; i++){
> -                            if(h->non_zero_count_cache[ scan8[i+p*16] ] || 
> dctcoef_get(h->mb, pixel_shift, i*16))
> +                            if(h->non_zero_count_cache[ scan8[i+p*16] ] || 
> dctcoef_get(h->mb, pixel_shift, i*16+p*256))
>                                  s->dsp.add_pixels4(dest_y + block_offset[i], 
> h->mb + (i*16+p*256 << pixel_shift), linesize);
>                          }
>                      }
> -- 

looks ok
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to