Merge pull request #4232 from akallabeth/ffmpeg_compat

Added compat define for missing format.
This commit is contained in:
David Fort 2017-11-13 17:09:48 +01:00 committed by GitHub
commit 6f2b849f20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,10 @@
#define AV_CODEC_ID_H264 CODEC_ID_H264
#endif
#if LIBAVUTIL_VERSION_MAJOR < 52
#define AV_PIX_FMT_YUV420P PIX_FMT_YUV420P
#endif
/* Ubuntu 14.04 ships without the functions provided by avutil,
* so define error to string methods here. */
#if !defined(av_err2str)