Mercurial > mplayer.hg
comparison vidix/pci.c @ 37107:3c5c93a30fb7
vidix: Replace printf with mp_msg
- Make MPlayer more quiet when requested (e.g. when using -really-quiet)
- Additionally change some minor capitalization and "bla:" to "[bla]"
Patch-by: Arne Bochem >arneb.mp ccan de<
Patch-also-OKed-by: Reimar
author | al |
---|---|
date | Sat, 17 May 2014 01:38:00 +0000 |
parents | 958431e2cde0 |
children |
comparison
equal
deleted
inserted
replaced
37106:1b9907dfe2f4 | 37107:3c5c93a30fb7 |
---|---|
51 * | 51 * |
52 */ | 52 */ |
53 | 53 |
54 #include "dha.h" | 54 #include "dha.h" |
55 #include "config.h" | 55 #include "config.h" |
56 #include "mp_msg.h" | |
56 #include <errno.h> | 57 #include <errno.h> |
57 #include <string.h> | 58 #include <string.h> |
58 #include <stdio.h> | 59 #include <stdio.h> |
59 #ifdef __unix__ | 60 #ifdef __unix__ |
60 #define __USE_UNIX98 | 61 #define __USE_UNIX98 |
708 { | 709 { |
709 int ret; | 710 int ret; |
710 | 711 |
711 if (len != 4) | 712 if (len != 4) |
712 { | 713 { |
713 fprintf(stderr,"pci_config_read: Reading non-dword not supported!\n"); | 714 mp_msg(MSGT_VO, MSGL_ERR, "[pci] pci_config_read: Reading non-dword not supported!\n"); |
714 return ENOTSUP; | 715 return ENOTSUP; |
715 } | 716 } |
716 | 717 |
717 ret = enable_os_io(); | 718 ret = enable_os_io(); |
718 if (ret != 0) | 719 if (ret != 0) |