Browse Source

Fix Avcodec module compilation.

pull/2/head
Jean-Baptiste Kempf 18 years ago
parent
commit
e7d3f3d54d
  1. 4
      modules/codec/avcodec/avcodec.h
  2. 4
      modules/codec/avcodec/fourcc.c

4
modules/codec/avcodec/avcodec.h

@ -251,3 +251,7 @@ extern vlc_mutex_t avcodec_lock;
AVCodecContext *p_context; \
AVCodec *p_codec;
#ifndef AV_VERSION_INT
# define AV_VERSION_INT(a, b, c) ((a)<<16 | (b)<<8 | (c))
#endif

4
modules/codec/avcodec/fourcc.c

@ -38,10 +38,6 @@
#endif
#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
*****************************************************************************/

Loading…
Cancel
Save