diff 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
line wrap: on
line diff
--- a/vidix/pci.c	Tue May 13 21:06:40 2014 +0000
+++ b/vidix/pci.c	Sat May 17 01:38:00 2014 +0000
@@ -53,6 +53,7 @@
 
 #include "dha.h"
 #include "config.h"
+#include "mp_msg.h"
 #include <errno.h>
 #include <string.h>
 #include <stdio.h>
@@ -710,7 +711,7 @@
 
     if (len != 4)
     {
-	fprintf(stderr,"pci_config_read: Reading non-dword not supported!\n");
+	mp_msg(MSGT_VO, MSGL_ERR, "[pci] pci_config_read: Reading non-dword not supported!\n");
 	return ENOTSUP;
     }