diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-23 08:20:12 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-11 18:23:50 +0100 |
commit | 85a5bc054c1290699ccbf5799ba6c4e2fbcc3530 (patch) | |
tree | 63f34e340221524d630668a3040b874a01e40212 /libavformat/mov.c | |
parent | 7b486ab13bfcfa88a7cd92586de50e49966ec292 (diff) |
lavf: remove disabled FF_API_R_FRAME_RATE cruft
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 7fe0548daa..45587cd9a3 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2061,12 +2061,6 @@ static int mov_read_trak(MOVContext *c, AVIOContext *pb, MOVAtom atom) if (st->duration != AV_NOPTS_VALUE) av_reduce(&st->avg_frame_rate.num, &st->avg_frame_rate.den, sc->time_scale*st->nb_frames, st->duration, INT_MAX); - -#if FF_API_R_FRAME_RATE - if (sc->stts_count == 1 || (sc->stts_count == 2 && sc->stts_data[1].count == 1)) - av_reduce(&st->r_frame_rate.num, &st->r_frame_rate.den, - sc->time_scale, sc->stts_data[0].duration, INT_MAX); -#endif } switch (st->codec->codec_id) { |