Commit e7d3f3d5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix Avcodec module compilation.

parent f2e6cfee
...@@ -251,3 +251,7 @@ extern vlc_mutex_t avcodec_lock; ...@@ -251,3 +251,7 @@ extern vlc_mutex_t avcodec_lock;
AVCodecContext *p_context; \ AVCodecContext *p_context; \
AVCodec *p_codec; AVCodec *p_codec;
#ifndef AV_VERSION_INT
# define AV_VERSION_INT(a, b, c) ((a)<<16 | (b)<<8 | (c))
#endif
...@@ -38,10 +38,6 @@ ...@@ -38,10 +38,6 @@
#endif #endif
#include "avcodec.h" #include "avcodec.h"
#ifndef AV_VERSION_INT
# define AV_VERSION_INT(a, b, c) ((a)<<16 | (b)<<8 | (c))
#endif
/***************************************************************************** /*****************************************************************************
* Codec fourcc -> ffmpeg_id mapping * Codec fourcc -> ffmpeg_id mapping
*****************************************************************************/ *****************************************************************************/
......
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