[FFmpeg-trac] #11279(avcodec:open): Aspect ratio defined by the PNG resolution chunk “pHYs” is misinterpreted as its reciprocal
FFmpeg
trac at avcodec.org
Fri Nov 1 17:42:17 EET 2024
#11279: Aspect ratio defined by the PNG resolution chunk “pHYs” is misinterpreted
as its reciprocal
------------------------------------+-----------------------------------
Reporter: goodbye | Owner: (none)
Type: defect | Status: open
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: png | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by Balling):
Is the fix simply changing to
avctx->sample_aspect_ratio.den = bytestream2_get_be32(&s->gb);
+ avctx->sample_aspect_ratio.num =
bytestream2_get_be32(&s->gb);
?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11279#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list