Commit 449b78e8 authored by ivoire's avatar ivoire
Browse files

taglib: ASF cover art support comes only after v1.7 and if TAGLIB_WITH_ASF is defined.

parent b38b9c24
......@@ -62,12 +62,12 @@
#if TAGLIB_VERSION >= VERSION_INT(1,7,0)
# define TAGLIB_HAVE_APEFILE_H
# include <apefile.h>
#endif
#ifdef TAGLIB_WITH_ASF
# include <asffile.h>
# include <asftag.h>
# include <asfattribute.h>
# ifdef TAGLIB_WITH_ASF // ASF pictures comes with v1.7.0
# define TAGLIB_HAVE_ASFPICTURE_H
# include <asffile.h>
# include <asftag.h>
# include <asfattribute.h>
# endif
#endif
#include <flacfile.h>
......@@ -134,7 +134,7 @@ static void ReadMetaFromAPE( APE::Tag* tag, demux_meta_t*, vlc_meta_t* p_meta )
}
#ifdef TAGLIB_WITH_ASF
#ifdef TAGLIB_HAVE_ASFPICTURE_H
/**
* Read meta information from APE tags
* @param tag: the APE tag
......@@ -516,7 +516,7 @@ static int ReadMeta( vlc_object_t* p_this)
}
else
#endif
#ifdef TAGLIB_WITH_ASF
#ifdef TAGLIB_HAVE_ASFPICTURE_H
if( ASF::File* asf = dynamic_cast<ASF::File*>(f.file()) )
{
if( asf->tag() )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment