diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-01 02:12:15 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-01 02:22:36 +0200 |
commit | f5bda9fcbb54c9c27503ab1bdb86838eb6f602f1 (patch) | |
tree | 6670523790a940cea5244687318b7e52f497e085 /libavcodec/mpeg4videoenc.c | |
parent | aebb56e1844d61965c97e95534c3ae0da69df028 (diff) | |
download | ffmpeg-streaming-f5bda9fcbb54c9c27503ab1bdb86838eb6f602f1.zip ffmpeg-streaming-f5bda9fcbb54c9c27503ab1bdb86838eb6f602f1.tar.gz |
mpeg4: fix typo in mpeg4_encode_gop_header()
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpeg4videoenc.c')
-rw-r--r-- | libavcodec/mpeg4videoenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpeg4videoenc.c b/libavcodec/mpeg4videoenc.c index 8cbfb69..bf94028 100644 --- a/libavcodec/mpeg4videoenc.c +++ b/libavcodec/mpeg4videoenc.c @@ -836,8 +836,8 @@ static void mpeg4_encode_gop_header(MpegEncContext * s){ s->last_time_base= FFUDIV(time, s->avctx->time_base.den); seconds= FFUDIV(time, s->avctx->time_base.den); - minutes= FFUDIV(seconds, 60); FFUMOD(seconds, 60); - hours = FFUDIV(minutes, 60); FFUMOD(minutes, 60); + minutes= FFUDIV(seconds, 60); seconds = FFUMOD(seconds, 60); + hours = FFUDIV(minutes, 60); minutes = FFUMOD(minutes, 60); hours = FFUMOD(hours , 24); put_bits(&s->pb, 5, hours); |