[FFmpeg-cvslog] r22899 - trunk/libavcodec/vp3.c

conrad subversion
Sat Apr 17 12:37:42 CEST 2010


Author: conrad
Date: Sat Apr 17 12:37:42 2010
New Revision: 22899

Log:
vp3: Use avctx pointer directly

Modified:
   trunk/libavcodec/vp3.c

Modified: trunk/libavcodec/vp3.c
==============================================================================
--- trunk/libavcodec/vp3.c	Sat Apr 17 04:04:39 2010	(r22898)
+++ trunk/libavcodec/vp3.c	Sat Apr 17 12:37:42 2010	(r22899)
@@ -1986,8 +1986,8 @@ static int theora_decode_header(AVCodecC
     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);



More information about the ffmpeg-cvslog mailing list