Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL11
>
opencv
> opencv-libpng14.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File opencv-libpng14.patch of Package opencv (Revision 1)
Currently displaying revision
1
,
show latest
diff -uNr OpenCV-2.1.0/src/highgui/grfmt_png.cpp old-OpenCV-2.1.0//src/highgui/grfmt_png.cpp --- OpenCV-2.1.0/src/highgui/grfmt_png.cpp 2010-04-06 03:24:44.000000000 +0200 +++ old-OpenCV-2.1.0//src/highgui/grfmt_png.cpp 2010-08-04 11:04:19.008240094 +0200 @@ -223,7 +223,7 @@ png_set_palette_to_rgb( png_ptr ); if( m_color_type == PNG_COLOR_TYPE_GRAY && m_bit_depth < 8 ) - png_set_gray_1_2_4_to_8( png_ptr ); + png_set_expand_gray_1_2_4_to_8( png_ptr ); if( CV_MAT_CN(m_type) > 1 && color ) png_set_bgr( png_ptr ); // convert RGB to BGR