[FFmpeg-trac] #6403(undetermined:closed): Use of both posix_memalign() and realloc() on same memory block not supported

FFmpeg trac at avcodec.org
Wed May 31 10:59:22 EEST 2017


#6403: Use of both posix_memalign() and realloc() on same memory block not
supported
-------------------------------------+-------------------------------------
             Reporter:  jrummell     |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:  wontfix
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by heleppkes):

 realloc not actually preserving alignment is known, and av_realloc should
 not be used anywhere where alignment is required.

 However, the key point is that using it on aligned memory should not break
 on any known systems, even if the reallocated memory is not aligned
 anymore afterwards.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6403#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list