unsigned drefs_count;
MOVDref *drefs;
int dref_id;
- int wrong_dts; ///< dts are wrong due to negative ctts
+ int wrong_dts; ///< dts are wrong due to huge ctts offset (iMovie files)
int width; ///< tkhd width
int height; ///< tkhd height
+ int dts_shift; ///< dts shift when ctts is negative
} MOVStreamContext;
typedef struct MOVContext {