[FFmpeg-trac] #699(undetermined:new): BMP: support BMP OS/2 v2 with RLE compression
FFmpeg
trac at avcodec.org
Fri Dec 2 21:30:33 CET 2011
#699: BMP: support BMP OS/2 v2 with RLE compression
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
The attached file decodes correctly in IrfanView/Photoshop.
Seems like header check should be modified to support this file:
libavcodec/bmp.c:
{{{
depth = bytestream_get_le16(&buf);
// if(ihsize == 40)
comp = bytestream_get_le32(&buf);
// else
// comp = BMP_RGB;
if(comp != BMP_RGB && comp != BMP_BITFIELDS && comp != BMP_RLE4 &&
comp != BMP_RLE8){
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/699>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list