[FFmpeg-trac] #11239(swscale:closed): Copy unscaled NV12 -> NV12 (and other format with 2 planes) broken.
FFmpeg
trac at avcodec.org
Mon Dec 23 12:34:06 EET 2024
#11239: Copy unscaled NV12 -> NV12 (and other format with 2 planes) broken.
-------------------------------------+-------------------------------------
Reporter: | Owner: Niklas
Aleksoid1978 | Haas <git@…>
Type: defect | Status: closed
Priority: normal | Component: swscale
Version: unspecified | Resolution: fixed
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by Niklas Haas <git@…>):
* owner: (none) => Niklas Haas <git@…>
* resolution: => fixed
* status: new => closed
Comment:
In [changeset:"77db7f9b87811aa588e6ab6a7256f7cd8267265d/ffmpeg"
77db7f9/ffmpeg]:
{{{#!CommitTicketReference repository="ffmpeg"
revision="77db7f9b87811aa588e6ab6a7256f7cd8267265d"
swscale/unscaled: correctly copy semiplanar formats
This fixes multiple bugs with semiplanar formats like NV12. Not only do
these
false positive the grayscale format checks (because dst[2] in NULL), but
they
also copied an incorrect number of pixels.
Fixes conversions such as nv12 -> nv12, gray8 -> nv12, nv20le -> nv20be,
etc.
Fixes: #11239
Signed-off-by: Niklas Haas <git at haasn.dev>
Sponsored-by: Sovereign Tech Fund
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11239#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list