Ticket #516: patchavfilter.diff

File patchavfilter.diff, 603 bytes (added by chinshou, 5 years ago)
  • libavfilter/avfilter.h

    diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
    index 96c8e3b..19c26b5 100644
    a b  
    4141#define LIBAVFILTER_BUILD       LIBAVFILTER_VERSION_INT 
    4242 
    4343#ifndef FF_API_OLD_VSINK_API 
    44 #define FF_API_OLD_VSINK_API        (LIBAVUTIL_VERSION_MAJOR < 3) 
     44#define FF_API_OLD_VSINK_API        (LIBAVFILTER_VERSION_MAJOR < 3) 
    4545#endif 
    4646#ifndef FF_API_OLD_ALL_FORMATS_API 
    47 #define FF_API_OLD_ALL_FORMATS_API (LIBAVUTIL_VERSION_MAJOR < 3) 
     47#define FF_API_OLD_ALL_FORMATS_API (LIBAVFILTER_VERSION_MAJOR < 3) 
    4848#endif 
    4949 
    5050#include <stddef.h>