}
if(s->avctx->time_base.num)
- s->current_picture_ptr->f.pts = (s->time + s->avctx->time_base.num / 2) / s->avctx->time_base.num;
+ s->current_picture_ptr->f.pts = ROUNDED_DIV(s->time, s->avctx->time_base.num);
else
s->current_picture_ptr->f.pts = AV_NOPTS_VALUE;
if(s->avctx->debug&FF_DEBUG_PTS)
return decode_vop_header(s, gb);
}
-av_cold int ff_mpeg4videodec_static_init(void) {
+av_cold void ff_mpeg4videodec_static_init(void) {
static int done = 0;
if (!done) {