Move ansi color array to outside of av_log_default_callback(). Do not pass
authorRamiro Polla <ramiro.polla@gmail.com>
Wed, 9 Jun 2010 18:10:35 +0000 (18:10 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Wed, 9 Jun 2010 18:10:35 +0000 (18:10 +0000)
commit6e34a5582d2c4dfa0f1a49a051ac208e3390e7c9
tree3590546ef5d00f1b30df51e163703ec5b1d98a1b
parenta1c027e9e4757bb8537b3ddaf9e03165cb347276
Move ansi color array to outside of av_log_default_callback(). Do not pass
ansi color code to colored_fputs(), and pass instead the error level so the
proper color code may be used.

Originally committed as revision 23553 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/log.c