We checked in this places: * In 8.6.1.3 of ISO/IEC 14496-12 about the CTTS box * In Apples MOV spec: https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFChap2/qtff2.html#//apple_ref/doc/uid/TP40000939-CH204-SW19
Unified · Split
| @@ -3703,13 +3703,6 @@ static int mov_read_ctts(MOVContext *c, AVIOContext *pb, MOVAtom atom) · 3702 unmodified lines | ||
| 3703 | 3703 | av_log(c->fc, AV_LOG_TRACE, "count=%d, duration=%d\n", |
| 3704 | 3704 | count, duration); |
| 3705 | 3705 | |
| 3706 | − if (FFNABS(duration) < -(1<<28) && i+2<entries) { | |
| 3707 | − av_log(c->fc, AV_LOG_WARNING, "CTTS invalid\n"); | |
| 3708 | − av_freep(&sc->ctts_data); | |
| 3709 | − sc->ctts_count = 0; | |
| 3710 | − return 0; | |
| 3711 | − } | |
| 3712 | − | |
| 3713 | 3706 | if (i+2<entries) |
| 3714 | 3707 | mov_update_dts_shift(sc, duration, c->fc); |
| 3715 | 3708 | } |