Added extern for img_convert to get round disappeance of the declaration from headers.
This commit is contained in:
@@ -5,7 +5,12 @@
|
||||
#include <stdexcept>
|
||||
#include <string.h>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
int img_convert(AVPicture *dst, int dst_pix_fmt, const AVPicture *src,
|
||||
int src_pix_fmt, int src_width, int src_height);
|
||||
|
||||
};
|
||||
|
||||
namespace osgFFmpeg {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user