Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(390)

Unified Diff: source/patched-ffmpeg-mt/libavutil/log.c

Issue 2850032: ffmpeg update to june 23 version which fixes mp4 crash on still frames with 3... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/patched-ffmpeg-mt/libavutil/internal.h ('k') | source/patched-ffmpeg-mt/libavutil/mem.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/patched-ffmpeg-mt/libavutil/log.c
===================================================================
--- source/patched-ffmpeg-mt/libavutil/log.c (revision 50820)
+++ source/patched-ffmpeg-mt/libavutil/log.c (working copy)
@@ -34,7 +34,7 @@
#endif
int av_log_level = AV_LOG_INFO;
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__MINGW32CE__)
#include <windows.h>
static const uint8_t color[] = {12,12,12,14,7,7,7};
static int16_t background, attr_orig;
@@ -51,7 +51,7 @@
#undef fprintf
static void colored_fputs(int level, const char *str){
if(use_color<0){
-#ifdef _WIN32
+#if defined(_WIN32) && !defined(__MINGW32CE__)
CONSOLE_SCREEN_BUFFER_INFO con_info;
con = GetStdHandle(STD_ERROR_HANDLE);
use_color = (con != INVALID_HANDLE_VALUE) && !getenv("NO_COLOR");
« no previous file with comments | « source/patched-ffmpeg-mt/libavutil/internal.h ('k') | source/patched-ffmpeg-mt/libavutil/mem.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698