projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c47d6
)
lrintf patch by ("Steven M. Schultz" <sms at 2BSD dot COM>)
author
Steven M. Schultz
<sms@2bsd.com>
Mon, 22 Dec 2003 19:42:28 +0000
(19:42 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 22 Dec 2003 19:42:28 +0000
(19:42 +0000)
Originally committed as revision 2630 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegvideo.c
b/libavcodec/mpegvideo.c
index
e5b5487
..
e04b14d
100644
(file)
--- a/
libavcodec/mpegvideo.c
+++ b/
libavcodec/mpegvideo.c
@@
-1874,7
+1874,7
@@
int MPV_encode_picture(AVCodecContext *avctx,
assert(s->repeat_first_field==0 && s->avctx->repeat_pic==0);
- vbv_delay= lrint(90000 * s->rc_context.buffer_index / s->avctx->rc_max_rate);
+ vbv_delay= lrint
f
(90000 * s->rc_context.buffer_index / s->avctx->rc_max_rate);
assert(vbv_delay < 0xFFFF);
s->vbv_delay_ptr[0] &= 0xF8;