diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-01 19:13:38 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-01 19:13:38 +0100 |
commit | 0ff8fe10f2c33d7df49cc6c3a38ca9fbb0b76d0a (patch) | |
tree | bdfa2ce7d28271cccc87e8016a41b44e1bea4b88 | |
parent | 61aca123fb30e6c99948b12a829ddf7afe1a4174 (diff) | |
download | ffmpeg-0ff8fe10f2c33d7df49cc6c3a38ca9fbb0b76d0a.tar.gz |
avcodec/h261enc: Fix number suffix
Found-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/h261enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c index b888a366a0..1c3f2ecf5a 100644 --- a/libavcodec/h261enc.c +++ b/libavcodec/h261enc.c @@ -61,8 +61,8 @@ void ff_h261_encode_picture_header(MpegEncContext *s, int picture_number) put_bits(&s->pb, 20, 0x10); /* PSC */ - temp_ref = s->picture_number * 30000L * s->avctx->time_base.num / - (1001L * s->avctx->time_base.den); // FIXME maybe this should use a timestamp + temp_ref = s->picture_number * 30000LL * s->avctx->time_base.num / + (1001LL * s->avctx->time_base.den); // FIXME maybe this should use a timestamp put_sbits(&s->pb, 5, temp_ref); /* TemporalReference */ put_bits(&s->pb, 1, 0); /* split screen off */ |