]> git.sesse.net Git - ffmpeg/blobdiff - libswresample/rematrix.c
swresample/x86/rematrix_init: Check av_malloc* return codes, forward errors
[ffmpeg] / libswresample / rematrix.c
index 6552a2fea2d1f6ac929ce2d8b1691bba93a65a6c..f26ede79f23b696fc19ff2d8859df1c060b30eec 100644 (file)
@@ -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;
 }