Changeset ceb76725a3e379b337fada346417818030b497c2

Show
Ignore:
Timestamp:
06/03/08 21:58:00 (3 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1212523080 +0200
git-parent:

[f9dcddd88db1da17054b2eb2285ac7126772e38c]

git-author:
Rafaël Carré <funman@videolan.org> 1212523051 +0200
Message:

Link with libavutil when needed

Use tabs in Makefile

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.ac

    rf9dcddd rceb7672  
    29262926if test "${enable_avcodec}" != "no" 
    29272927then 
    2928   PKG_CHECK_MODULES(AVCODEC,[libavcodec], 
     2928  PKG_CHECK_MODULES(AVCODEC,[libavcodec libavutil], 
    29292929    [ 
    29302930      VLC_SAVE_FLAGS 
     
    29322932      CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}" 
    29332933      AC_CHECK_HEADERS(libavcodec/avcodec.h ffmpeg/avcodec.h) 
     2934      AC_CHECK_HEADERS(libavutil/avutil.h ffmpeg/avutil.h) 
    29342935      VLC_ADD_PLUGIN([avcodec]) 
    29352936      VLC_ADD_LIBS([avcodec],[$AVCODEC_LIBS]) 
     
    29372938      VLC_RESTORE_FLAGS 
    29382939    ],[ 
    2939       AC_MSG_ERROR([Could not find libavcodec. Use --disable-avcodec to ignore this error.]) 
     2940      AC_MSG_ERROR([Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.]) 
    29402941  ]) 
    29412942fi 
     
    29492950if test "${enable_avformat}" != "no" 
    29502951then 
    2951   PKG_CHECK_MODULES(AVFORMAT,[libavformat], 
     2952  PKG_CHECK_MODULES(AVFORMAT,[libavformat libavutil], 
    29522953    [ 
    29532954      VLC_SAVE_FLAGS 
     
    29552956      CFLAGS="${CFLAGS} ${AVFORMAT_CFLAGS}" 
    29562957      AC_CHECK_HEADERS(libavformat/avformat.h ffmpeg/avformat.h) 
     2958      AC_CHECK_HEADERS(libavutil/avutil.h ffmpeg/avutil.h) 
    29572959      VLC_ADD_PLUGIN([avformat]) 
    29582960      VLC_ADD_LIBS([avformat],[$AVFORMAT_LIBS]) 
     
    29602962      VLC_RESTORE_FLAGS 
    29612963    ],[ 
    2962       AC_MSG_ERROR([Could not find libavformat. Use --disable-avformat to ignore this error.]) 
     2964      AC_MSG_ERROR([Could not find libavformat or libavutil. Use --disable-avformat to ignore this error.]) 
    29632965  ]) 
    29642966fi 
  • modules/codec/ffmpeg/Modules.am

    r3a49e9f rceb7672  
    4545    imgresample.c \ 
    4646    imgresample.h \ 
    47         chroma.c \ 
    48         video_filter.c \ 
     47   chroma.c \ 
     48   video_filter.c \ 
    4949    chroma.h \ 
    5050    $(NULL)