Browse code

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>

Reimar Döffinger authored on 2012/12/04 04:42:08
Showing 2 changed files
... ...
@@ -36,7 +36,7 @@
36 36
  */
37 37
 #define av_assert0(cond) do {                                           \
38 38
     if (!(cond)) {                                                      \
39
-        av_log(NULL, AV_LOG_FATAL, "Assertion %s failed at %s:%d\n",    \
39
+        av_log(NULL, AV_LOG_PANIC, "Assertion %s failed at %s:%d\n",    \
40 40
                AV_STRINGIFY(cond), __FILE__, __LINE__);                 \
41 41
         abort();                                                        \
42 42
     }                                                                   \
... ...
@@ -76,7 +76,7 @@
76 76
 
77 77
 #define LIBAVUTIL_VERSION_MAJOR  52
78 78
 #define LIBAVUTIL_VERSION_MINOR  11
79
-#define LIBAVUTIL_VERSION_MICRO 101
79
+#define LIBAVUTIL_VERSION_MICRO 102
80 80
 
81 81
 #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
82 82
                                                LIBAVUTIL_VERSION_MINOR, \