diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-15 21:29:43 -0400 |
---|---|---|
committer | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-15 22:27:23 -0400 |
commit | ef62f573ca5ea5284fb77d3acc8c75ec7b00e378 (patch) | |
tree | 130fa39130f89e33e551fd903806bc75ae8fcd9d /libswresample/swresample_internal.h | |
parent | d6f6e98eb1581e1153ff4d87996bfb4f5c61d9dc (diff) | |
download | ffmpeg-ef62f573ca5ea5284fb77d3acc8c75ec7b00e378.tar.gz |
swresample/swresample_internal: add av_warn_unused_result
This will trigger a few warnings that need to be fixed.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r-- | libswresample/swresample_internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h index ce5eef4d9f..bf0cec7979 100644 --- a/libswresample/swresample_internal.h +++ b/libswresample/swresample_internal.h @@ -184,6 +184,7 @@ struct SwrContext { /* TODO: callbacks for ASM optimizations */ }; +av_warn_unused_result int swri_realloc_audio(AudioData *a, int count); void swri_noise_shaping_int16 (SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioData *noises, int count); @@ -191,12 +192,15 @@ void swri_noise_shaping_int32 (SwrContext *s, AudioData *dsts, const AudioData * void swri_noise_shaping_float (SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioData *noises, int count); void swri_noise_shaping_double(SwrContext *s, AudioData *dsts, const AudioData *srcs, const AudioData *noises, int count); +av_warn_unused_result int swri_rematrix_init(SwrContext *s); void swri_rematrix_free(SwrContext *s); int swri_rematrix(SwrContext *s, AudioData *out, AudioData *in, int len, int mustcopy); int swri_rematrix_init_x86(struct SwrContext *s); +av_warn_unused_result int swri_get_dither(SwrContext *s, void *dst, int len, unsigned seed, enum AVSampleFormat noise_fmt); +av_warn_unused_result int swri_dither_init(SwrContext *s, enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt); void swri_audio_convert_init_aarch64(struct AudioConvert *ac, |