Fix metadata usage
[sxemacs] / src / media / media-ffmpeg.h
index 6fc46c2..66c4541 100644 (file)
@@ -24,6 +24,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 #define INCLUDED_media_ffmpeg_h_
 
 #include "media.h"
+
 #if defined HAVE_LIBAVFORMAT_AVFORMAT_H
 # include <libavformat/avformat.h>
 #elif defined HAVE_FFMPEG_AVFORMAT_H
@@ -32,6 +33,12 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>. */
 # include <avformat.h>
 #endif
 
+#if defined HAVE_LIBAVUTIL_DICT_H
+# include <libavutil/dict.h>
+#elif defined HAVE_FFMPEG_DICT_H
+# include <ffmpeg/dict.h>
+#endif
+
 /* Newer ffmpeg do not declare this macro... */
 #ifndef DECLARE_ALIGNED
 #ifdef __ICC