[FFmpeg-devel] [PATCH] fftools/ffmpeg_opt: Fix precedence issue in abs_start_seek calculation

Gyan Doshi ffmpeg at gyani.pro
Thu Dec 26 12:16:54 EET 2024



On 2024-12-26 09:34 am, Gyan Doshi wrote:
>
>
> On 2024-12-26 05:09 am, Pradeep Kumar Goudagunta wrote:
>> This patch corrects a C operator precedence issue in 
>> fftools/ffmpeg_opt.c
>> where the abs_start_seek calculation did not yield the expected result
>> due to incorrect placement of parentheses.
>
> Yes, addition has higher precedence than the ternary conditional.
>
> LGTM and will apply.

Pushed as aa20294b317558957cf124bb8e4da0521ab3c423

Thanks,
Gyan



More information about the ffmpeg-devel mailing list