]> git.sesse.net Git - ffmpeg/commitdiff
av_assert should use AV_LOG_PANIC.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Mon, 3 Dec 2012 19:42:08 +0000 (20:42 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Wed, 5 Dec 2012 19:25:32 +0000 (20:25 +0100)
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>
libavutil/avassert.h
libavutil/version.h

index e100d0bfdd2f1a2b146b74e78c06c950f7620b2b..41f5e0eea7b8d9bfe46d3ceac986e64b11a0283b 100644 (file)
@@ -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();                                                        \
     }                                                                   \
index a44feda847faf93c891255da0242cf75f8c74dd7..1724369a3eb097e6190224bd7004685f7eb27a1d 100644 (file)
@@ -76,7 +76,7 @@
 
 #define LIBAVUTIL_VERSION_MAJOR  52
 #define LIBAVUTIL_VERSION_MINOR  11
-#define LIBAVUTIL_VERSION_MICRO 101
+#define LIBAVUTIL_VERSION_MICRO 102
 
 #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
                                                LIBAVUTIL_VERSION_MINOR, \