提交 33e62383 编写于 作者: D David Conrad

vp3: Use avctx pointer directly

Originally committed as revision 22899 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 8099d6c9
...@@ -1986,8 +1986,8 @@ static int theora_decode_header(AVCodecContext *avctx, GetBitContext *gb) ...@@ -1986,8 +1986,8 @@ static int theora_decode_header(AVCodecContext *avctx, GetBitContext *gb)
fps.num = get_bits_long(gb, 32); fps.num = get_bits_long(gb, 32);
fps.den = get_bits_long(gb, 32); fps.den = get_bits_long(gb, 32);
if (fps.num && fps.den) { if (fps.num && fps.den) {
av_reduce(&s->avctx->time_base.num, &s->avctx->time_base.den, av_reduce(&avctx->time_base.num, &avctx->time_base.den,
fps.den, fps.num, INT_MAX); fps.den, fps.num, 1<<30);
} }
avctx->sample_aspect_ratio.num = get_bits_long(gb, 24); avctx->sample_aspect_ratio.num = get_bits_long(gb, 24);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册