summaryrefslogtreecommitdiff
path: root/libavcodec/vc9.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-04-30 21:43:59 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-04-30 21:43:59 +0000
commitc0df9d75bd9a3170a793eb1651354076360998e8 (patch)
tree0f4c75f07fc395d168bf0a7fcd92d6f9d9e9281b /libavcodec/vc9.c
parentb7782b47c95c26d674df134973d1403e80fe9767 (diff)
switch to native time bases
Originally committed as revision 4168 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vc9.c')
-rw-r--r--libavcodec/vc9.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/vc9.c b/libavcodec/vc9.c
index 5225dde495..93c3983958 100644
--- a/libavcodec/vc9.c
+++ b/libavcodec/vc9.c
@@ -595,15 +595,15 @@ static int decode_advanced_sequence_header(AVCodecContext *avctx, GetBitContext
av_log(avctx, AV_LOG_ERROR,
"Reserved FRAMERATEDR %i not handled\n", dr);
}
- avctx->frame_rate_base = fps_nr[dr];
- avctx->frame_rate = fps_nr[nr];
+ avctx->time_base.num = fps_nr[dr];
+ avctx->time_base.den = fps_nr[nr];
}
else
{
nr = get_bits(gb, 16);
// 0.03125->2048Hz / 0.03125Hz
- avctx->frame_rate = 1000000;
- avctx->frame_rate_base = 31250*(1+nr);
+ avctx->time_base.den = 1000000;
+ avctx->time_base.num = 31250*(1+nr);
}
}