[FFmpeg-trac] #10376(undetermined:new): Consider replacing long / unsigned long data types?

FFmpeg trac at avcodec.org
Fri May 19 17:45:35 EEST 2023


#10376: Consider replacing long / unsigned long data types?
-------------------------------------+-------------------------------------
             Reporter:  SuRGeoNix    |                     Type:
                                     |  enhancement
               Status:  new          |                 Priority:  wish
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Those data types are platform specific (eg 8-byte in Mac, 4-byte in Win
 and 4-byte in x86 Linux but 8-byte in x64 Linux) and can cause issues when
 used from higher libraries (eg. see
 https://github.com/Ruslan-B/FFmpeg.AutoGen/issues/217) with struct
 size/alignments.

 They shouldn't be many (at least for public API) but the most important
 one, is the 'unsigned long checksum' in AVIOContext.

 (Just wondering, any actual reason of their existence?)
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10376>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list