HOW GEEK!

geek notes for advice seekers

March, 2010

ffmpeg-php – error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function)

/tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame_toGDImage’: /tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function) /tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: (Each undeclared identifier is reported only once /tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:336: error: for each function it appears in.) /tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c: In function ‘zim_ffmpeg_frame_ffmpeg_frame’: /tmp/ffmpeg-php-0.6.0/ffmpeg_frame.c:421: error: ‘PIX_FMT_RGBA32’ undeclared (first use in this function) make: *** [ffmpeg_frame.lo] Erreur 1 To fix this, replace PIX_FMT_RGBA32 with PIX_FMT_RGB32 […]

, ,