提交 dc172cc1 编写于 作者: M Michael Niedermayer

use spatial error concealment if we dont have a previous frame

Originally committed as revision 1303 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 1e491e29
......@@ -528,6 +528,8 @@ score_sum+= best_score;
static int is_intra_more_likely(MpegEncContext *s){
int is_intra_likely, i, j, undamaged_count, skip_amount, mb_x, mb_y;
if(s->last_picture.data[0]==NULL) return 1; //no previous frame available -> use spatial prediction
undamaged_count=0;
for(i=0; i<s->mb_num; i++){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册