comparison motion_est.c @ 1598:932d306bf1dc libavcodec

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
author michael
date Mon, 03 Nov 2003 13:26:22 +0000
parents 3ee63c12ea30
children 27806cccec2a
comparison
equal deleted inserted replaced
1597:4c9165372ab3 1598:932d306bf1dc
320 for(i=0; i<7; i++){ 320 for(i=0; i<7; i++){
321 cmp[i]= zero_cmp; 321 cmp[i]= zero_cmp;
322 } 322 }
323 break; 323 break;
324 default: 324 default:
325 fprintf(stderr,"internal error in cmp function selection\n"); 325 av_log(s->avctx, AV_LOG_ERROR,"internal error in cmp function selection\n");
326 } 326 }
327 } 327 }
328 328
329 static inline int get_penalty_factor(MpegEncContext *s, int type){ 329 static inline int get_penalty_factor(MpegEncContext *s, int type){
330 switch(type&0xFF){ 330 switch(type&0xFF){