* Fix compile issue with old ffmpeg versions.
This commit is contained in:
@ -60,6 +60,10 @@
|
||||
#define AVMEDIA_TYPE_VIDEO CODEC_TYPE_VIDEO
|
||||
#endif
|
||||
|
||||
#if LIBAVUTIL_VERSION_INT < ((50<<16)+(13<<8)+0)
|
||||
#define av_strerror(x, y, z) snprintf(y, z, "%d", x)
|
||||
#endif
|
||||
|
||||
#define FLAG_TITLE 0x00000001
|
||||
#define FLAG_ARTIST 0x00000002
|
||||
#define FLAG_ALBUM 0x00000004
|
||||
|
Reference in New Issue
Block a user