diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-09 12:12:45 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-09 12:15:56 +0300 |
commit | b74ecb82fa51aba52a95992668546afe8ed2bd9f (patch) | |
tree | 23309b89296731a599f108b752f2c6e927ddfec0 /libswresample/swresample_internal.h | |
parent | 48ffaaaaef98640782cfdaaf21319a83292b62b2 (diff) |
swresample/x86/rematrix_init: Check av_malloc* return codes, forward errors
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample_internal.h')
-rw-r--r-- | libswresample/swresample_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/swresample_internal.h b/libswresample/swresample_internal.h index bb51272d6f..3e733368b0 100644 --- a/libswresample/swresample_internal.h +++ b/libswresample/swresample_internal.h @@ -183,7 +183,7 @@ void swri_noise_shaping_double(SwrContext *s, AudioData *dsts, const AudioData * 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); -void swri_rematrix_init_x86(struct SwrContext *s); +int swri_rematrix_init_x86(struct SwrContext *s); void swri_get_dither(SwrContext *s, void *dst, int len, unsigned seed, enum AVSampleFormat noise_fmt); int swri_dither_init(SwrContext *s, enum AVSampleFormat out_fmt, enum AVSampleFormat in_fmt); |