[FFmpeg-trac] #172(avcodec:closed): PNG 1bpp grayscale image decodes incorrectly

FFmpeg trac at avcodec.org
Mon May 16 16:44:07 CEST 2011


#172: PNG 1bpp grayscale image decodes incorrectly
------------------------+----------------------
Reporter:  ami_stuff    |       Owner:
    Type:  defect       |      Status:  closed
Priority:  normal       |   Component:  avcodec
 Version:  unspecified  |  Resolution:  fixed
Keywords:               |  Blocked By:
Blocking:               |  Reproduced:  1
Analyzed:  1            |
------------------------+----------------------
Changes (by saste):

 * analyzed:  0 => 1
 * resolution:   => fixed
 * status:  new => closed
 * component:  undetermined => avcodec
 * reproduced:  0 => 1


Comment:

 Fixed in commit:

 commit 68bed67d2eaabcfa7eaf00442312055f7d953b69
 Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
 Date:   Mon May 16 01:51:04 2011 +0200

     pngdec: relax condition for setting monoblack pixel format

     Ignore color_type information for setting the monoblack pixel format,
     only rely on bit_depth.

     In particular: fix Test_1bpp_grayscale.png from issue #172.

     This may work fine for some broken encoder, and not for others.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/172#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list