diff options
author | Roman Shaposhnik <roman@shaposhnik.org> | 2008-10-07 16:59:18 +0000 |
---|---|---|
committer | Roman Shaposhnik <roman@shaposhnik.org> | 2008-10-07 16:59:18 +0000 |
commit | 4e92dabf6048870e4d2064c5db6decb231840af0 (patch) | |
tree | feb01f4d15df5753550665bc699493c4d7546eda /libavcodec/dv.c | |
parent | a53621fca8d0250bc5b21a688232985b8146e77f (diff) | |
download | ffmpeg-4e92dabf6048870e4d2064c5db6decb231840af0.tar.gz |
replacing frame_rate and frame_rate_base with an AVRational time_base
Originally committed as revision 15584 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r-- | libavcodec/dv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 17e7fa9699..7360f66527 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -1048,7 +1048,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx, s->picture.key_frame = 1; s->picture.pict_type = FF_I_TYPE; avctx->pix_fmt = s->sys->pix_fmt; - avctx->time_base = (AVRational){s->sys->frame_rate_base, s->sys->frame_rate}; + avctx->time_base = s->sys->time_base; avcodec_set_dimensions(avctx, s->sys->width, s->sys->height); if(avctx->get_buffer(avctx, &s->picture) < 0) { av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); |