[FFmpeg-trac] #11188(tools:new): ffmpeg_opt.c correct_input_start_times(void) calculates wrong ts_offset

FFmpeg trac at avcodec.org
Fri Sep 13 16:28:38 EEST 2024


#11188: ffmpeg_opt.c correct_input_start_times(void) calculates wrong ts_offset
-------------------------------------+----------------------------------
             Reporter:  Jens Viebig  |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  tools
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------
Comment (by Balling):

 Yes, != has higher priority than ternary operation. Also (not that it
 matters here) everyone that is coding C needs to know that middle of the
 conditional operator (between ? and :) is parsed as if parenthesized: its
 precedence relative to ?: is ignored.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11188#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list