Browse Source

Merge commit '78987a88a88b28d93d03ed6c228bcb33f178444f'

* commit '78987a88a88b28d93d03ed6c228bcb33f178444f':
  lavf: include 60 fps in guessed standard frame rates

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 11 years ago
parent
commit
e53ec2fe38
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/utils.c

+ 1
- 1
libavformat/utils.c View File

@@ -3243,7 +3243,7 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)

/* Round guessed framerate to a "standard" framerate if it's
* within 1% of the original estimate. */
for (j = 1; j < MAX_STD_TIMEBASES; j++) {
for (j = 0; j < MAX_STD_TIMEBASES; j++) {
AVRational std_fps = { get_std_framerate(j), 12 * 1001 };
double error = fabs(av_q2d(st->avg_frame_rate) /
av_q2d(std_fps) - 1);


Loading…
Cancel
Save