Changes between Version 12 and Version 16 of Ticket #9769


Ignore:
Timestamp:
May 11, 2022, 4:49:13 PM (4 years ago)
Author:
Pierre-Anthony Lemieux
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9769 – Description

    v12 v16  
    11Summary of the bug:
    22
    3 JPEG 2000 decoder outputs {{{SOC marker not present}}} on a JPEG 2000 codestream file (j2c) that contains bytes after the End of Codestream marker 0xFFD9.
     3JPEG 2000 decoder outputs {{{SOC marker not present}}} on a JPEG 2000 codestream file (j2c) that contains bad bytes after the End of Codestream marker 0xFFD9.
     4
     5See attached `j2k1.j2c​` file.
     6
     7A J2C file can contain only one codestreams, and thus bytes after the End of Codestream marker 0xFFD9 should be ignored.
    48
    59How to reproduce:
    610{{{
    7 ffmpeg -i ../../j2k-samples/j2k1.j2c out.png
     11ffmpeg -i j2k1.j2c out.png
    812ffmpeg version N-106674-gdcbf10acdc Copyright (c) 2000-2022 the FFmpeg developers
    913  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)