projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8099d6c
)
vp3: Use avctx pointer directly
author
David Conrad
<lessen42@gmail.com>
Sat, 17 Apr 2010 10:37:42 +0000
(10:37 +0000)
committer
David Conrad
<lessen42@gmail.com>
Sat, 17 Apr 2010 10:37:42 +0000
(10:37 +0000)
Originally committed as revision 22899 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vp3.c
patch
|
blob
|
history
diff --git
a/libavcodec/vp3.c
b/libavcodec/vp3.c
index 2384524ebdd7e16f7738d8fcc9e421a05b9d35ff..cc5b28fdbbd0729a3cb024747df9cf9215991634 100644
(file)
--- 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);