Replace deprecated FFmpeg API to fix build with ffmpeg-3.0.x
This commit is contained in:
committed by
Robert Osfield
parent
5a4a5c3507
commit
e85d574334
@@ -19,7 +19,7 @@ extern "C"
|
||||
#include <libavutil/pixdesc.h>
|
||||
}
|
||||
|
||||
inline PixelFormat osg_av_get_pix_fmt(const char *name) { return av_get_pix_fmt(name); }
|
||||
inline AVPixelFormat osg_av_get_pix_fmt(const char *name) { return av_get_pix_fmt(name); }
|
||||
|
||||
|
||||
namespace osgFFmpeg {
|
||||
|
||||
Reference in New Issue
Block a user