summaryrefslogtreecommitdiff
path: root/libswresample/rematrix.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-02-09 10:12:45 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-09 10:15:56 +0100
commitb74ecb82fa51aba52a95992668546afe8ed2bd9f (patch)
tree23309b89296731a599f108b752f2c6e927ddfec0 /libswresample/rematrix.c
parent48ffaaaaef98640782cfdaaf21319a83292b62b2 (diff)
swresample/x86/rematrix_init: Check av_malloc* return codes, forward errors
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/rematrix.c')
-rw-r--r--libswresample/rematrix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libswresample/rematrix.c b/libswresample/rematrix.c
index 6552a2fea2..f26ede79f2 100644
--- a/libswresample/rematrix.c
+++ b/libswresample/rematrix.c
@@ -415,7 +415,8 @@ av_cold int swri_rematrix_init(SwrContext *s){
s->matrix_ch[i][0]= ch_in;
}
- if(HAVE_YASM && HAVE_MMX) swri_rematrix_init_x86(s);
+ if(HAVE_YASM && HAVE_MMX)
+ return swri_rematrix_init_x86(s);
return 0;
}