Ticket #11136: mythtv-bswap.diff

File mythtv-bswap.diff, 634 bytes (added by Chistian Marillat <marillat@…>, 10 years ago)
  • libs/libmythtv/avformatwriter.cpp

    a b  
    2727
    2828extern "C" {
    2929#if HAVE_BIGENDIAN
     30#if defined( __MACOS__ )
    3031#include "bswap.h"
     32#else
     33#include "byteswap.h"
    3134#endif
     35#endif
     36
    3237#include "libavutil/opt.h"
    3338#include "libavutil/samplefmt.h"
    3439#include "libavutil/mem.h" // for av_free
  • libs/libmythtv/recorders/NuppelVideoRecorder.cpp

    a b using namespace std; 
    3535
    3636#if HAVE_BIGENDIAN
    3737extern "C" {
     38#if defined( __MACOS__ )
    3839#include "bswap.h"
    3940}
     41#else
     42#include "byteswap.h"
     43}
     44#endif
    4045#endif
    4146
    4247extern "C" {