Browse Source

mpeg1 bad frame_rate_base fix by (Arthur van Hoff (javanator))

Originally committed as revision 2012 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 22 years ago
parent
commit
e71ea8b251
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/utils.c

+ 1
- 1
libavformat/utils.c View File

@@ -618,7 +618,7 @@ int av_find_stream_info(AVFormatContext *ic)
&st->r_frame_rate,
&st->r_frame_rate_base,
(int64_t)st->codec.frame_rate * st->codec_info_nb_real_frames,
st->codec_info_nb_real_frames + (st->codec_info_nb_repeat_frames >> 1),
(st->codec_info_nb_real_frames + (st->codec_info_nb_repeat_frames >> 1)) * st->codec.frame_rate_base,
1<<30);
goto close_codec;
}


Loading…
Cancel
Save