diff options
author | David Conrad <lessen42@gmail.com> | 2010-04-17 10:37:42 +0000 |
---|---|---|
committer | David Conrad <lessen42@gmail.com> | 2010-04-17 10:37:42 +0000 |
commit | 33e623831be99de3847eafc793d5220fe6b12498 (patch) | |
tree | 6892633fded67e6291dabbfbf4c945547d30ab4b /libavcodec/vp3.c | |
parent | 8099d6c985ef561f8389daca621aeb367fee2f6d (diff) | |
download | ffmpeg-33e623831be99de3847eafc793d5220fe6b12498.tar.gz |
vp3: Use avctx pointer directly
Originally committed as revision 22899 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 2384524ebd..cc5b28fdbb 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -1986,8 +1986,8 @@ static int theora_decode_header(AVCodecContext *avctx, GetBitContext *gb) 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); |