Hi Paul,
Post by Paul Kramerhttp://paste.pocoo.org/show/490806/
Any Idea on how to fix this?
Ok, really strange... it seems you are running a version of
libavutil < 51.5.0 which still has AV_DICT_IGNORE_SUFFIX defined.
Is the problem already solved? And if not, can you mail me your
/usr/include/libavformat/avformat.h and /usr/include/libavutil/avutil.h
?
@Gregory: A solution would be to not check for the version of libavutil,
but for the defined macro, e.g.:
diff --git a/ffmpeg.c b/ffmpeg.c
index e884274..27adacc 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -55,7 +55,7 @@
#endif
#endif
-#if (LIBAVUTIL_VERSION_INT < ((51<<16)+(5<<8)+0))
+#ifndef AV_DICT_IGNORE_SUFFIX
#define AV_DICT_IGNORE_SUFFIX AV_METADATA_IGNORE_SUFFIX
#define av_dict_get av_metadata_get
#define AVDictionaryEntry AVMetadataTag
Johannes