Mercurial > libavcodec.hg
comparison error_resilience.c @ 6525:52925923273f libavcodec
cosmetics: typo fixes
author | diego |
---|---|
date | Sat, 22 Mar 2008 16:46:36 +0000 |
parents | 01647ac078a7 |
children | 8195c970d077 |
comparison
equal
deleted
inserted
replaced
6524:01647ac078a7 | 6525:52925923273f |
---|---|
559 const int error= s->error_status_table[mb_xy]; | 559 const int error= s->error_status_table[mb_xy]; |
560 if(!((error&DC_ERROR) && (error&MV_ERROR))) | 560 if(!((error&DC_ERROR) && (error&MV_ERROR))) |
561 undamaged_count++; | 561 undamaged_count++; |
562 } | 562 } |
563 | 563 |
564 if(undamaged_count < 5) return 0; //allmost all MBs damaged -> use temporal prediction | 564 if(undamaged_count < 5) return 0; //almost all MBs damaged -> use temporal prediction |
565 | 565 |
566 #ifdef HAVE_XVMC | 566 #ifdef HAVE_XVMC |
567 //prevent dsp.sad() check, that requires access to the image | 567 //prevent dsp.sad() check, that requires access to the image |
568 if(s->avctx->xvmc_acceleration && s->pict_type==FF_I_TYPE) return 1; | 568 if(s->avctx->xvmc_acceleration && s->pict_type==FF_I_TYPE) return 1; |
569 #endif | 569 #endif |