summaryrefslogtreecommitdiff
path: root/libavutil/avassert.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-12-03 20:42:08 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-12-05 20:25:32 +0100
commit58df8befda61c8e984a3f55f7f5abc454055f893 (patch)
treee0a0fcf4c437ba18a0ae6fa30baceb910a4ee22e /libavutil/avassert.h
parent6d7effa9bda03aedb651d997956414a1372a6dbc (diff)
av_assert should use AV_LOG_PANIC.
The description of AV_LOG_PANIC 100% matches what av_assert does, while AV_LOG_FATAL does not really. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavutil/avassert.h')
-rw-r--r--libavutil/avassert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/avassert.h b/libavutil/avassert.h
index e100d0bfdd..41f5e0eea7 100644
--- a/libavutil/avassert.h
+++ b/libavutil/avassert.h
@@ -36,7 +36,7 @@
*/
#define av_assert0(cond) do { \
if (!(cond)) { \
- av_log(NULL, AV_LOG_FATAL, "Assertion %s failed at %s:%d\n", \
+ av_log(NULL, AV_LOG_PANIC, "Assertion %s failed at %s:%d\n", \
AV_STRINGIFY(cond), __FILE__, __LINE__); \
abort(); \
} \