diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-08 11:41:33 +0300 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-08-22 20:16:14 +0300 |
commit | 095347ffe4c73143dbeb7b05cde8891fd1289389 (patch) | |
tree | 7f3f71dd67f7f973990281a26e7beebe59f20829 /libavfilter/audio.c | |
parent | 805f38b4d618811e2f09625c87f42a1d3fd492d2 (diff) |
disable deprecation warnings in deprecated code
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavfilter/audio.c')
-rw-r--r-- | libavfilter/audio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/audio.c b/libavfilter/audio.c index 1e1d8e04df..a49bcf4f20 100644 --- a/libavfilter/audio.c +++ b/libavfilter/audio.c @@ -81,6 +81,7 @@ AVFrame *ff_get_audio_buffer(AVFilterLink *link, int nb_samples) } #if FF_API_AVFILTERBUFFER +FF_DISABLE_DEPRECATION_WARNINGS AVFilterBufferRef* avfilter_get_audio_buffer_ref_from_arrays_channels(uint8_t **data, int linesize,int perms, int nb_samples, @@ -167,4 +168,5 @@ AVFilterBufferRef* avfilter_get_audio_buffer_ref_from_arrays(uint8_t **data, nb_samples, sample_fmt, channels, channel_layout); } +FF_ENABLE_DEPRECATION_WARNINGS #endif |