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

FFmpeg trac at avcodec.org
Sat May 20 12:26:55 EEST 2017


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

Comment (by Cigaes):

 Replying to [comment:2 cehoyos]:
 > Would a configure option that disables posix_memalign() help with your
 particular "use-case"?
 [[br]]
 No, it will not. {{{posix_memalign()}}} is the preferred function for that
 task, and rightly so since it is the more standard.

 [[br]]
 > If not, this is wont-fix unless a platform exists where this is a real
 issue.
 [[br]]
 Please do not do that. Not mixing {{{av_malloc()}}} and {{{av_realloc()}}}
 is a documented constraint of our API, {{{mov.c}}} seems to be violating
 that.

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


More information about the FFmpeg-trac mailing list