Replace deprecated FFmpeg API to fix build with ffmpeg-3.0.x

This commit is contained in:
Andreas Cadhalpun
2016-06-01 10:32:35 +01:00
committed by Robert Osfield
parent 5a4a5c3507
commit e85d574334
4 changed files with 26 additions and 31 deletions

View File

@@ -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 {