[FFmpeg-trac] #3014(swscale:new): sws_scale() renders a frame buffer invalid for memory freeing in a specific situation
FFmpeg
trac at avcodec.org
Sun Nov 3 23:19:54 CET 2013
#3014: sws_scale() renders a frame buffer invalid for memory freeing in a specific
situation
------------------------------------+-----------------------------------
Reporter: cyril | Owner:
Type: defect | Status: new
Priority: normal | Component: swscale
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by cyril):
It's very old code, and it is still working in most cases but those 1-2
jpeg files. I've replaced ''avpicture_alloc()'' by
''av_frame_get_buffer()'' and it's indeed now working fine with those
jpeg.
Nevertheless, it's quite confusing as AVPicture isn't marked as
deprecated.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3014#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list