comparison vp3.c @ 11640:15ab6f3c18a4 libavcodec

vp3: Use avctx pointer directly
author conrad
date Sat, 17 Apr 2010 10:37:42 +0000
parents 5698bf13b8e1
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11639:5698bf13b8e1 11640:15ab6f3c18a4
1984 } 1984 }
1985 1985
1986 fps.num = get_bits_long(gb, 32); 1986 fps.num = get_bits_long(gb, 32);
1987 fps.den = get_bits_long(gb, 32); 1987 fps.den = get_bits_long(gb, 32);
1988 if (fps.num && fps.den) { 1988 if (fps.num && fps.den) {
1989 av_reduce(&s->avctx->time_base.num, &s->avctx->time_base.den, 1989 av_reduce(&avctx->time_base.num, &avctx->time_base.den,
1990 fps.den, fps.num, INT_MAX); 1990 fps.den, fps.num, 1<<30);
1991 } 1991 }
1992 1992
1993 avctx->sample_aspect_ratio.num = get_bits_long(gb, 24); 1993 avctx->sample_aspect_ratio.num = get_bits_long(gb, 24);
1994 avctx->sample_aspect_ratio.den = get_bits_long(gb, 24); 1994 avctx->sample_aspect_ratio.den = get_bits_long(gb, 24);
1995 1995