Improves timestamps for fate-m4v*
Showing the changes to libavcodec (1 of 3 files). Show all
Unified · Split
| @@ -3141,9 +3141,6 @@ static int decode_vop_header(Mpeg4DecContext *ctx, GetBitContext *gb, · 3140 unmodified lines | ||
| 3141 | 3141 | |
| 3142 | 3142 | av_log(s->avctx, AV_LOG_WARNING, |
| 3143 | 3143 | "time_increment_bits set to %d bits, based on bitstream analysis\n", ctx->time_increment_bits); |
| 3144 | − if (s->avctx->framerate.num && 4*s->avctx->framerate.num < 1<<ctx->time_increment_bits) { | |
| 3145 | − s->avctx->framerate.num = 1<<ctx->time_increment_bits; | |
| 3146 | − } | |
| 3147 | 3144 | } |
| 3148 | 3145 | |
| 3149 | 3146 | if (IS_3IV1) |