error: ‘PIX_FMT_RGBA32? undeclared

Error:

/root/ffmpeg-php-0.5.0/ffmpeg_frame.c:495: error: ‘PIX_FMT_RGBA32? undeclared (first use in this function)
make: *** [ffmpeg_frame.lo] Error 1










Fix:

1. Open the file “/root/ffmpeg-php-0.5.0/ffmpeg_frame.c” using vi editor.
2. Go to the line you are getting this error. [In this example, line #495].
3. Execute the following command.

Press ESC and :%s/PIX_FMT_RGBA32/PIX_FMT_RGB32

4. Save the file and recompile it once again.

0 comments:

Post a Comment