Mercurial > libavcodec.hg
changeset 11640:15ab6f3c18a4 libavcodec
vp3: Use avctx pointer directly
author | conrad |
---|---|
date | Sat, 17 Apr 2010 10:37:42 +0000 |
parents | 5698bf13b8e1 |
children | 215dfe2dbfe1 |
files | vp3.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vp3.c Sat Apr 17 02:04:39 2010 +0000 +++ b/vp3.c Sat Apr 17 10:37:42 2010 +0000 @@ -1986,8 +1986,8 @@ fps.num = get_bits_long(gb, 32); fps.den = get_bits_long(gb, 32); if (fps.num && fps.den) { - av_reduce(&s->avctx->time_base.num, &s->avctx->time_base.den, - fps.den, fps.num, INT_MAX); + av_reduce(&avctx->time_base.num, &avctx->time_base.den, + fps.den, fps.num, 1<<30); } avctx->sample_aspect_ratio.num = get_bits_long(gb, 24);