[FFmpeg-trac] #10459(avfilter:closed): set_string_bool() overwrites memory.
FFmpeg
trac at avcodec.org
Fri Jul 14 00:36:32 EEST 2023
#10459: set_string_bool() overwrites memory.
------------------------------------+------------------------------------
Reporter: Wodzu | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component: avfilter
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by Balling):
>In my opinion the purpose of using different types (including bool) is to
better express your design, thus to write better code at the end
Unless you have many such bools and use 1 bit per it and special CPU
instructions this will be slower. In particular using 1 byte instead of 4
is slower.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10459#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list