#ifdef PRINT_FRAME_TIME
uint64_t time= rdtsc();
#endif
-#ifdef DEBUG
- av_log(avctx, AV_LOG_DEBUG, "*****frame %d size=%d\n", avctx->frame_number, buf_size);
- if(buf_size>0)
- av_log(avctx, AV_LOG_DEBUG, "bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]);
-#endif
s->flags= avctx->flags;
s->flags2= avctx->flags2;
return -1;
}
-#ifdef DEBUG
- av_log(avctx, AV_LOG_DEBUG, "qscale=%d\n", s->qscale);
-#endif
-
ff_er_frame_start(s);
//the second part of the wmv2 header contains the MB skip bits which are stored in current_picture->mb_type
s->esc3_level_length= 0;
s->esc3_run_length= 0;
-
-#ifdef DEBUG
- av_log(s->avctx, AV_LOG_DEBUG, "*****frame %d:\n", frame_count++);
-#endif
}
void msmpeg4_encode_ext_header(MpegEncContext * s)
s->esc3_level_length= 0;
s->esc3_run_length= 0;
-#ifdef DEBUG
- av_log(s->avctx, AV_LOG_DEBUG, "*****frame %d:\n", frame_count++);
-#endif
return 0;
}