* 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

4
NEWS
View File

@ -6,6 +6,10 @@
- Add configuration option to specify the user to run as.
- Add support for limiting a media dir to multiple media types.
- Force a rescan if we detect a new or missing media_dir entry.
- Fix crash caused by certain TiVo clients.
- Fix crash bug on video files with some ffmpeg library versions.
- Add support for TiVo MPEG-TS files.
- Add some logging and forking tweaks to work better with systemd.
1.0.25 - Released 13-July-2012
--------------------------------

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