[FFmpeg-devel] [PATCH 1/7] x86inc: Be more verbose in assertion failures

Henrik Gramner henrik at gramner.com
Sun Jan 17 23:59:08 CET 2016


---
 libavutil/x86/x86inc.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
index 69ec57d..5bc5c46 100644
--- a/libavutil/x86/x86inc.asm
+++ b/libavutil/x86/x86inc.asm
@@ -295,7 +295,7 @@ DECLARE_REG_TMP_SIZE 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14
 
 %macro ASSERT 1
     %if (%1) == 0
-        %error assert failed
+        %error assertion ``%1'' failed
     %endif
 %endmacro
 
-- 
1.9.1



More information about the ffmpeg-devel mailing list