mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Fix for newer ffmpeg versions, they dropped support for C++
This commit is contained in:
parent
51089282c1
commit
acb0722ff5
@ -20,8 +20,10 @@
|
||||
|
||||
#include "videoTexture.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "avformat.h"
|
||||
extern "C" {
|
||||
#include "avcodec.h"
|
||||
#include "avformat.h"
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : OpenCVTexture
|
||||
|
@ -17,7 +17,9 @@
|
||||
#include "webcamVideo.h"
|
||||
|
||||
#ifdef HAVE_FFMPEG
|
||||
#include "avcodec.h"
|
||||
extern "C" {
|
||||
#include "avcodec.h"
|
||||
}
|
||||
#endif
|
||||
|
||||
ConfigureDef(config_movies);
|
||||
|
@ -15,8 +15,10 @@
|
||||
#ifdef HAVE_FFMPEG
|
||||
|
||||
#include "ffmpegAudioCursor.h"
|
||||
#include "avcodec.h"
|
||||
#include "avformat.h"
|
||||
extern "C" {
|
||||
#include "avcodec.h"
|
||||
#include "avformat.h"
|
||||
}
|
||||
|
||||
TypeHandle FfmpegAudioCursor::_type_handle;
|
||||
|
||||
|
@ -16,8 +16,10 @@
|
||||
|
||||
#include "ffmpegVideoCursor.h"
|
||||
#include "config_movies.h"
|
||||
#include "avcodec.h"
|
||||
#include "avformat.h"
|
||||
extern "C" {
|
||||
#include "avcodec.h"
|
||||
#include "avformat.h"
|
||||
}
|
||||
#include "pStatCollector.h"
|
||||
#include "pStatTimer.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user