Mercurial > libavcodec.hg
comparison h263dec.c @ 3177:8d1b2cc2a75b libavcodec
(f)printf --> av_log conversion
taken from a patch by Steve L'Homme
author | diego |
---|---|
date | Wed, 08 Mar 2006 11:43:10 +0000 |
parents | 9aec091b342f |
children | 333e016c2c8a |
comparison
equal
deleted
inserted
replaced
3176:babf844e1308 | 3177:8d1b2cc2a75b |
---|---|
692 | 692 |
693 if(MPV_frame_start(s, avctx) < 0) | 693 if(MPV_frame_start(s, avctx) < 0) |
694 return -1; | 694 return -1; |
695 | 695 |
696 #ifdef DEBUG | 696 #ifdef DEBUG |
697 printf("qscale=%d\n", s->qscale); | 697 av_log(avctx, AV_LOG_DEBUG, "qscale=%d\n", s->qscale); |
698 #endif | 698 #endif |
699 | 699 |
700 ff_er_frame_start(s); | 700 ff_er_frame_start(s); |
701 | 701 |
702 //the second part of the wmv2 header contains the MB skip bits which are stored in current_picture->mb_type | 702 //the second part of the wmv2 header contains the MB skip bits which are stored in current_picture->mb_type |
781 | 781 |
782 /* don't output the last pic after seeking */ | 782 /* don't output the last pic after seeking */ |
783 if(s->last_picture_ptr || s->low_delay) | 783 if(s->last_picture_ptr || s->low_delay) |
784 *data_size = sizeof(AVFrame); | 784 *data_size = sizeof(AVFrame); |
785 #ifdef PRINT_FRAME_TIME | 785 #ifdef PRINT_FRAME_TIME |
786 printf("%Ld\n", rdtsc()-time); | 786 av_log(avctx, AV_LOG_DEBUG, "%Ld\n", rdtsc()-time); |
787 #endif | 787 #endif |
788 | 788 |
789 return get_consumed_bytes(s, buf_size); | 789 return get_consumed_bytes(s, buf_size); |
790 } | 790 } |
791 | 791 |