Ticket #13653: 0001-use-FFmpeg-definitions-of-av_malloc-and-av_free.patch

File 0001-use-FFmpeg-definitions-of-av_malloc-and-av_free.patch, 940 bytes (added by Gary Buhrmaster, 4 months ago)

use FFmpeg definitions of av_malloc and av_free

  • mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp

    From dc5d15bc8d991e76dba27fea9cab5a5124e65622 Mon Sep 17 00:00:00 2001
    From: Gary Buhrmaster <gary.buhrmaster@gmail.com>
    Date: Tue, 14 Jul 2020 15:04:02 +0000
    Subject: [PATCH 1/7] use FFmpeg definitions of av_malloc and av_free
    
    ---
     mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp b/mythtv/libs/libmythtv/visualisations/videovisualspectrum.cpp
    index db967571c6..ff3052df6c 100644
    a b  
    44
    55#define FFTW_N 512
    66extern "C" {
    7 void *av_malloc(unsigned int size);
    8 void av_free(void *ptr);
     7// FFmpeg for av_malloc and av_free
     8#include "libavutil/mem.h"
    99}
    1010
    1111VideoVisualSpectrum::VideoVisualSpectrum(AudioPlayer *audio, MythRender *render)