[FFmpeg-trac] #10326(avformat:new): Possibly invalid restriction for CTTS sample_offset field

FFmpeg trac at avcodec.org
Wed Apr 19 16:25:44 EEST 2023


#10326: Possibly invalid restriction for CTTS sample_offset field
--------------------------------------+------------------------------------
             Reporter:  Robert Swain  |                    Owner:  (none)
                 Type:  defect        |                   Status:  new
             Priority:  normal        |                Component:  avformat
              Version:  git-master    |               Resolution:
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+------------------------------------
Comment (by Robert Swain):

 An additional piece of information about the case I encountered in a
 different file but that I am unable to share - the video track's `mdhd`
 box `time_scale` field has a value of: `2086482457`. The largest `ctts`
 `sample_offset` value in this file is `346769080`, which is an unsigned
 value as the `ctts` box `version` is 0 in this file. log2(346769080) ~
 28.3694000241 so just over 28 bits.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10326#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list