[FFmpeg-trac] #9331(swscale:closed): invalid writing in libswscale.so

FFmpeg trac at avcodec.org
Tue Mar 1 12:52:52 EET 2022


#9331: invalid writing in libswscale.so
--------------------------------------+-----------------------------------
             Reporter:  chuliang_guo  |                    Owner:  (none)
                 Type:  defect        |                   Status:  closed
             Priority:  normal        |                Component:  swscale
              Version:  git-master    |               Resolution:  invalid
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+-----------------------------------
Changes (by Elon Musk):

 * status:  new => closed
 * resolution:   => invalid

Comment:

 Your buffer is not properly aligned for swscale library, this is even
 mentioned in documentation.

 Use av_cpu_max_align() as last parameter to av_image_get_buffer_size()
 instead of no-alignment at all which is value of 1.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9331#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list