# HG changeset patch # User conrad # Date 1271500662 0 # Node ID 15ab6f3c18a4d76f96aca88e688c7b82780f5fa0 # Parent 5698bf13b8e13b5590c8d3b4b19743ba84a5fd85 vp3: Use avctx pointer directly diff -r 5698bf13b8e1 -r 15ab6f3c18a4 vp3.c --- 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);