* Fix compile issue with old ffmpeg versions.

This commit is contained in:
Justin Maggard
2013-03-09 00:03:03 +00:00
parent 11998204e2
commit 42bd49276f
2 changed files with 8 additions and 0 deletions

View File

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