Ticket #9468: spdifenc.diff

File spdifenc.diff, 1.2 KB (added by Lawrence Rust <lvr@…>, 9 years ago)
  • mythtv/libs/libmyth/audio/spdifencoder.h

    diff --git a/mythtv/libs/libmyth/audio/spdifencoder.h b/mythtv/libs/libmyth/audio/spdifencoder.h
    index 9d67c24..a2afacb 100644
    a b extern "C" { 
    1111#include "libavcodec/audioconvert.h"
    1212}
    1313
    14 #pragma weak av_guess_format
    15 #pragma weak avformat_alloc_context
    16 #pragma weak av_new_stream
    17 #pragma weak av_write_header
    18 #pragma weak av_write_frame
    19 #pragma weak av_write_trailer
    20 #pragma weak avcodec_close
    21 #pragma weak av_freep
    22 #pragma weak av_set_parameters
    23 #pragma weak av_alloc_put_byte
    24 
    2514class MPUBLIC SPDIFEncoder
    2615{
    2716
  • mythtv/libs/libmyth/libmyth.pro

    diff --git a/mythtv/libs/libmyth/libmyth.pro b/mythtv/libs/libmyth/libmyth.pro
    index 36f652b..a2bd37f 100644
    a b LIBS += -L../libmythfreesurround -lmythfreesurround-$${LIBVERSION} 
    8989LIBS += -L../../external/FFmpeg/libavcodec -lmythavcodec
    9090LIBS += -L../../external/FFmpeg/libavcore  -lmythavcodec
    9191LIBS += -L../../external/FFmpeg/libavutil  -lmythavutil
     92LIBS += -L../../external/FFmpeg/libavformat  -lmythavformat
    9293
    9394TARGETDEPS += ../libmythsamplerate/libmythsamplerate-$${MYTH_LIB_EXT}
    9495TARGETDEPS += ../libmythsoundtouch/libmythsoundtouch-$${MYTH_LIB_EXT}