diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-05-13 23:11:32 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-13 23:11:32 +0000 |
commit | cf5c5c8f08910f62949926969fe704bef6c85720 (patch) | |
tree | d370b23188ae6cc52914debdcb62aa86c2201e5b /libavcodec/h263.c | |
parent | ba7ee4a4604a26809234600e474f2ecc83797e2a (diff) | |
download | ffmpeg-cf5c5c8f08910f62949926969fe704bef6c85720.tar.gz |
10l (%f vs. %Ld)
Originally committed as revision 4239 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 1825de9cde..28d638092c 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -2425,6 +2425,7 @@ void mpeg4_encode_picture_header(MpegEncContext * s, int picture_number) put_bits(&s->pb, 16, VOP_STARTCODE); /* vop header */ put_bits(&s->pb, 2, s->pict_type - 1); /* pict type: I = 0 , P = 1 */ + assert(s->time>=0); time_div= s->time/s->avctx->time_base.den; time_mod= s->time%s->avctx->time_base.den; time_incr= time_div - s->last_time_base; @@ -5856,7 +5857,7 @@ static int decode_vop_header(MpegEncContext *s, GetBitContext *gb){ s->current_picture_ptr->pts= (s->time + s->avctx->time_base.num/2) / s->avctx->time_base.num; if(s->avctx->debug&FF_DEBUG_PTS) - av_log(s->avctx, AV_LOG_DEBUG, "MPEG4 PTS: %f\n", s->current_picture_ptr->pts); + av_log(s->avctx, AV_LOG_DEBUG, "MPEG4 PTS: %Ld\n", s->current_picture_ptr->pts); check_marker(gb, "before vop_coded"); |