diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-03-27 18:36:51 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-08-02 19:19:02 +0200 |
commit | 7950e519bb094897f957b9a9531cc60ba46cbc91 (patch) | |
tree | b8bcd2acc2a699c2c219e690d439a3f3eb0a6a44 /libavfilter/internal.h | |
parent | 3a7050ffed5ce061b114a11e4de4b77aba8efa0b (diff) | |
download | ffmpeg-7950e519bb094897f957b9a9531cc60ba46cbc91.tar.gz |
Disable deprecation warnings for cases where a replacement is available
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r-- | libavfilter/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h index 40b33afd08..12655bc3e6 100644 --- a/libavfilter/internal.h +++ b/libavfilter/internal.h @@ -24,6 +24,7 @@ * internal API functions */ +#include "libavutil/internal.h" #include "avfilter.h" #include "thread.h" #include "version.h" @@ -166,7 +167,9 @@ static inline void ff_insert_inpad(AVFilterContext *f, unsigned index, ff_insert_pad(index, &f->nb_inputs, offsetof(AVFilterLink, dstpad), &f->input_pads, &f->inputs, p); #if FF_API_FOO_COUNT +FF_DISABLE_DEPRECATION_WARNINGS f->input_count = f->nb_inputs; +FF_ENABLE_DEPRECATION_WARNINGS #endif } @@ -177,7 +180,9 @@ static inline void ff_insert_outpad(AVFilterContext *f, unsigned index, ff_insert_pad(index, &f->nb_outputs, offsetof(AVFilterLink, srcpad), &f->output_pads, &f->outputs, p); #if FF_API_FOO_COUNT +FF_DISABLE_DEPRECATION_WARNINGS f->output_count = f->nb_outputs; +FF_ENABLE_DEPRECATION_WARNINGS #endif } |