Changeset db7b9410e3cc17b9476890cdd5ec0b956e9a4ccb

Show
Ignore:
Timestamp:
05/26/08 19:51:45 (3 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1211824305 +0200
git-parent:

[c43e98790c8ccbe82d1095af30d5fb6ee420740e]

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

Remove unused HAVE_XXXX_{SWSCALE,FFMPEG}_TREE defines

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/codec/ffmpeg/chroma.c

    r6300760 rdb7b941  
    3333#include <vlc_vout.h> 
    3434 
    35 #if defined(HAVE_LIBSWSCALE_SWSCALE_H)  || defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE) 
     35#if defined(HAVE_LIBSWSCALE_SWSCALE_H)  || defined(HAVE_FFMPEG_SWSCALE_H) 
    3636#include <vlc_filter.h> 
    3737#endif 
     
    4848#include "ffmpeg.h" 
    4949 
    50 #if !defined(HAVE_LIBSWSCALE_SWSCALE_H)  && !defined(HAVE_FFMPEG_SWSCALE_H) && !defined(HAVE_LIBSWSCALE_TREE) 
     50#if !defined(HAVE_LIBSWSCALE_SWSCALE_H)  && !defined(HAVE_FFMPEG_SWSCALE_H) 
    5151void InitLibavcodec ( vlc_object_t *p_object ); 
    5252static void ChromaConversion( vout_thread_t *, picture_t *, picture_t * ); 
     
    364364} 
    365365 
    366 #endif /* !defined(HAVE_LIBSWSCALE_SWSCALE_H)  && !defined(HAVE_FFMPEG_SWSCALE_H) && !defined(HAVE_LIBSWSCALE_TREE) */ 
     366#endif /* !defined(HAVE_LIBSWSCALE_SWSCALE_H)  && !defined(HAVE_FFMPEG_SWSCALE_H) */ 
  • modules/codec/ffmpeg/demux.c

    r6300760 rdb7b941  
    4141#elif defined(HAVE_FFMPEG_AVFORMAT_H) 
    4242#   include <ffmpeg/avformat.h> 
    43 #elif defined(HAVE_LIBAVFORMAT_TREE) 
    44 #   include <avformat.h> 
    4543#endif 
    4644 
     
    5048 
    5149/* Version checking */ 
    52 #if defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_TREE) 
     50#if defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_AVFORMAT_H) 
    5351 
    5452/***************************************************************************** 
  • modules/codec/ffmpeg/ffmpeg.c

    r456aa83 rdb7b941  
    8080#endif 
    8181 
    82 #if defined(HAVE_LIBSWSCALE_SWSCALE_H)  || defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE) 
     82#if defined(HAVE_LIBSWSCALE_SWSCALE_H)  || defined(HAVE_FFMPEG_SWSCALE_H) 
    8383static int pi_mode_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 }; 
    8484static const char *ppsz_mode_descriptions[] = 
     
    210210#endif /* ENABLE_SOUT */ 
    211211 
    212 #if defined(HAVE_LIBAVFORMAT_AVFORMAT_H) || defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_TREE) 
     212#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H) || defined(HAVE_FFMPEG_AVFORMAT_H) 
    213213 
    214214    /* demux submodule */ 
     
    229229#endif 
    230230 
    231 #if defined(HAVE_LIBSWSCALE_SWSCALE_H)  || defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE) 
     231#if defined(HAVE_LIBSWSCALE_SWSCALE_H)  || defined(HAVE_FFMPEG_SWSCALE_H) 
    232232    /* video filter submodule */ 
    233233    add_submodule(); 
  • modules/codec/ffmpeg/mux.c

    r6300760 rdb7b941  
    3939#elif defined(HAVE_FFMPEG_AVFORMAT_H) 
    4040#   include <ffmpeg/avformat.h> 
    41 #elif defined(HAVE_LIBAVFORMAT_TREE) 
    42 #   include <avformat.h> 
    4341#endif 
    4442 
     
    4846 
    4947/* Version checking */ 
    50 #if defined(HAVE_LIBAVFORMAT_AVFORMAT_H) || defined(HAVE_FFMPEG_AVFORMAT_H) || defined(HAVE_LIBAVFORMAT_TREE) 
     48#if defined(HAVE_LIBAVFORMAT_AVFORMAT_H) || defined(HAVE_FFMPEG_AVFORMAT_H) 
    5149 
    5250static const char *ppsz_mux_options[] = { 
  • modules/codec/ffmpeg/scale.c

    r8d6c212 rdb7b941  
    4747#elif defined(HAVE_FFMPEG_SWSCALE_H) 
    4848#   include <ffmpeg/swscale.h> 
    49 #elif defined(HAVE_LIBSWSCALE_TREE) 
    50 #   include <swscale.h> 
    5149#endif 
    5250 
     
    5452 
    5553/* Version checking */ 
    56 #if ( (defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE)) && (LIBSWSCALE_VERSION_INT >= ((0<<16)+(5<<8)+0)) ) 
     54#if ( (defined(HAVE_LIBSWSCALE_SWSCALE_H) || defined(HAVE_FFMPEG_SWSCALE_H)) && (LIBSWSCALE_VERSION_INT >= ((0<<16)+(5<<8)+0)) ) 
    5755 
    5856/***************************************************************************** 
  • modules/codec/ffmpeg/video.c

    r6300760 rdb7b941  
    870870                dest_pic.linesize[i] = p_pic->p[i].i_pitch; 
    871871            } 
    872 #if !defined(HAVE_LIBSWSCALE_SWSCALE_H)  && !defined(HAVE_FFMPEG_SWSCALE_H) && !defined(HAVE_LIBSWSCALE_TREE) 
     872#if !defined(HAVE_LIBSWSCALE_SWSCALE_H)  && !defined(HAVE_FFMPEG_SWSCALE_H) 
    873873            img_convert( &dest_pic, PIX_FMT_YUV420P, 
    874874                         (AVPicture *)p_ff_pic, 
  • modules/codec/ffmpeg/video_filter.c

    r6300760 rdb7b941  
    4646#include "ffmpeg.h" 
    4747 
    48 #if !defined(HAVE_LIBSWSCALE_SWSCALE_H)  && !defined(HAVE_FFMPEG_SWSCALE_H) && !defined(HAVE_LIBSWSCALE_TREE) 
     48#if !defined(HAVE_LIBSWSCALE_SWSCALE_H)  && !defined(HAVE_FFMPEG_SWSCALE_H) 
    4949void InitLibavcodec ( vlc_object_t *p_object ); 
    5050static int CheckInit( filter_t *p_filter ); 
     
    569569    return p_pic_dst; 
    570570} 
    571 #endif /* ( (defined(HAVE_LIBSWSCALE_SWSCALE_H)  || defined(HAVE_FFMPEG_SWSCALE_H) || defined(HAVE_LIBSWSCALE_TREE)) */ 
     571#endif /* ( (defined(HAVE_LIBSWSCALE_SWSCALE_H)  || defined(HAVE_FFMPEG_SWSCALE_H) */